From 74c3d31f59c915ae561c71778edcdf1239768d56 Mon Sep 17 00:00:00 2001 From: Spencer Russell Date: Fri, 13 Oct 2017 01:08:09 -0400 Subject: [PATCH] adds PCM64Sample type alias --- src/SampledSignals.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SampledSignals.jl b/src/SampledSignals.jl index a971ad7..87fecc4 100644 --- a/src/SampledSignals.jl +++ b/src/SampledSignals.jl @@ -14,7 +14,7 @@ export samplerate, samplerate!, nchannels, nframes, domain, channelptr, blocksiz export mix!, mix, mono!, mono # re-export the useful units export ns, ms, µs, s, Hz, kHz, MHz, GHz, THz -export PCM8Sample, PCM16Sample, PCM24Sample, PCM32Sample +export PCM8Sample, PCM16Sample, PCM24Sample, PCM32Sample, PCM64Sample using SIUnits using SIUnits.ShortUnits: ns, ms, µs, s, Hz, kHz, MHz, GHz, THz @@ -29,8 +29,9 @@ const SecondsQuantity{T} = SIUnits.SIQuantity{T,0,0,1,0,0,0,0,0,0} const PCM8Sample = Fixed{Int8, 7} const PCM16Sample = Fixed{Int16, 15} -const PCM24Sample = Fixed{Int32, 23} +const PCM24Sample = Fixed{Int32, 23} # assume right-aligned data const PCM32Sample = Fixed{Int32, 31} +const PCM64Sample = Fixed{Int64, 63} include("Interval.jl") include("SampleBuf.jl")