Skip to content

Commit

Permalink
Merge branch 'pcm64'
Browse files Browse the repository at this point in the history
  • Loading branch information
ssfrr committed Oct 13, 2017
2 parents 3be7654 + 74c3d31 commit 5ce80a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/SampledSignals.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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")
Expand Down

0 comments on commit 5ce80a8

Please sign in to comment.