Skip to content

Commit 5ce80a8

Browse files
committed
Merge branch 'pcm64'
2 parents 3be7654 + 74c3d31 commit 5ce80a8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/SampledSignals.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export samplerate, samplerate!, nchannels, nframes, domain, channelptr, blocksiz
1414
export mix!, mix, mono!, mono
1515
# re-export the useful units
1616
export ns, ms, µs, s, Hz, kHz, MHz, GHz, THz
17-
export PCM8Sample, PCM16Sample, PCM24Sample, PCM32Sample
17+
export PCM8Sample, PCM16Sample, PCM24Sample, PCM32Sample, PCM64Sample
1818

1919
using SIUnits
2020
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}
2929

3030
const PCM8Sample = Fixed{Int8, 7}
3131
const PCM16Sample = Fixed{Int16, 15}
32-
const PCM24Sample = Fixed{Int32, 23}
32+
const PCM24Sample = Fixed{Int32, 23} # assume right-aligned data
3333
const PCM32Sample = Fixed{Int32, 31}
34+
const PCM64Sample = Fixed{Int64, 63}
3435

3536
include("Interval.jl")
3637
include("SampleBuf.jl")

0 commit comments

Comments
 (0)