From 829a09a2ae99fb84adc12a70d302c72d6f035e76 Mon Sep 17 00:00:00 2001 From: Spencer Russell Date: Sat, 30 Jul 2016 01:33:37 -0400 Subject: [PATCH] fixes munged case problem --- src/PortAudio.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PortAudio.jl b/src/PortAudio.jl index 9624b2a..e7d45d5 100644 --- a/src/PortAudio.jl +++ b/src/PortAudio.jl @@ -15,7 +15,7 @@ include("libportaudio.jl") export PortAudioStream # Size of the ringbuffer in frames. 85ms latency at 48kHz -const DEFAULT_blocksize=4096 +const DEFAULT_BLOCKSIZE=4096 # data is passed to and from the ringbuffer in chunks with this many frames # it should be at most the ringbuffer size, and must evenly divide into the # the underlying portaudio buffer size. E.g. if PortAudio is running with a @@ -123,7 +123,7 @@ end # this is the top-level outer constructor that all the other outer constructors # end up calling function PortAudioStream(indev::PortAudioDevice, outdev::PortAudioDevice, - inchans=2, outchans=2; eltype=Float32, samplerate=48000Hz, blocksize=DEFAULT_blocksize) + inchans=2, outchans=2; eltype=Float32, samplerate=48000Hz, blocksize=DEFAULT_BLOCKSIZE) PortAudioStream{eltype, typeof(samplerate)}(indev, outdev, inchans, outchans, samplerate, blocksize) end