Mercurial > hg > svapp
diff audioio/AudioPulseAudioTarget.cpp @ 464:39ab248a4998 simple-fft-model
Merge from default branch
author | Chris Cannam |
---|---|
date | Wed, 07 Jan 2015 17:42:21 +0000 |
parents | ad998a2fe9e2 |
children |
line wrap: on
line diff
--- a/audioio/AudioPulseAudioTarget.cpp Mon Jun 15 14:35:27 2015 +0100 +++ b/audioio/AudioPulseAudioTarget.cpp Wed Jan 07 17:42:21 2015 +0000 @@ -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);