We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ce80a8 commit 6af2bd1Copy full SHA for 6af2bd1
1 file changed
src/SampledSignals.jl
@@ -14,7 +14,7 @@ export samplerate, samplerate!, nchannels, nframes, domain, channelptr, blocksiz
14
export mix!, mix, mono!, mono
15
# re-export the useful units
16
export ns, ms, µs, s, Hz, kHz, MHz, GHz, THz
17
-export PCM8Sample, PCM16Sample, PCM24Sample, PCM32Sample, PCM64Sample
+export PCM8Sample, PCM16Sample, PCM20Sample, PCM24Sample, PCM32Sample, PCM64Sample
18
19
using SIUnits
20
using SIUnits.ShortUnits: ns, ms, µs, s, Hz, kHz, MHz, GHz, THz
@@ -29,7 +29,8 @@ const SecondsQuantity{T} = SIUnits.SIQuantity{T,0,0,1,0,0,0,0,0,0}
29
30
const PCM8Sample = Fixed{Int8, 7}
31
const PCM16Sample = Fixed{Int16, 15}
32
-const PCM24Sample = Fixed{Int32, 23} # assume right-aligned data
+const PCM20Sample = Fixed{Int32, 19}
33
+const PCM24Sample = Fixed{Int32, 23}
34
const PCM32Sample = Fixed{Int32, 31}
35
const PCM64Sample = Fixed{Int64, 63}
36
0 commit comments