fixes channel count wrongness in README

This commit is contained in:
Spencer Russell 2016-03-23 23:35:07 -04:00
parent 8a7a7d5baa
commit db2f697d6c

View file

@ -57,11 +57,11 @@ write(stream, stream)
```julia ```julia
julia> using PortAudio, SampleTypes, LibSndFile julia> using PortAudio, SampleTypes, LibSndFile
julia> stream = PortAudioStream("Built-in Microph", 1, 0) julia> stream = PortAudioStream("Built-in Microph", 2, 0)
PortAudio.PortAudioStream{Float32,SIUnits.SIQuantity{Int64,0,0,-1,0,0,0,0,0,0}} PortAudio.PortAudioStream{Float32,SIUnits.SIQuantity{Int64,0,0,-1,0,0,0,0,0,0}}
Samplerate: 48000 s⁻¹ Samplerate: 48000 s⁻¹
Buffer Size: 4096 frames Buffer Size: 4096 frames
1 channel source: "Built-in Microph" 2 channel source: "Built-in Microph"
julia> buf = read(stream, 10s) julia> buf = read(stream, 10s)
480000-frame, 2-channel SampleBuf{Float32, 2, SIUnits.SIQuantity{Int64,0,0,-1,0,0,0,0,0,0}} 480000-frame, 2-channel SampleBuf{Float32, 2, SIUnits.SIQuantity{Int64,0,0,-1,0,0,0,0,0,0}}