Mercurial > hg > svapp
diff audioio/AudioPulseAudioTarget.cpp @ 465:1b4e5a567d58 3.0-integration
Merge from branch simple-fft-model
author | Chris Cannam |
---|---|
date | Wed, 01 Jul 2015 18:31:28 +0100 |
parents | ad998a2fe9e2 |
children |
line wrap: on
line diff
--- a/audioio/AudioPulseAudioTarget.cpp Fri Jun 26 14:14:31 2015 +0100 +++ b/audioio/AudioPulseAudioTarget.cpp Wed Jul 01 18:31:28 2015 +0100 @@ -259,7 +259,8 @@ << nframes * tmpbufch * sizeof(float) << " bytes" << endl; #endif - pa_stream_write(m_stream, output, nframes * tmpbufch * sizeof(float), + pa_stream_write(m_stream, output, + size_t(nframes * tmpbufch * sizeof(float)), 0, 0, PA_SEEK_RELATIVE); m_source->setOutputLevels(peakLeft, peakRight);