comparison 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
comparison
equal deleted inserted replaced
462:83370e830c95 465:1b4e5a567d58
257 #ifdef DEBUG_AUDIO_PULSE_AUDIO_TARGET_PLAY 257 #ifdef DEBUG_AUDIO_PULSE_AUDIO_TARGET_PLAY
258 SVDEBUG << "calling pa_stream_write with " 258 SVDEBUG << "calling pa_stream_write with "
259 << nframes * tmpbufch * sizeof(float) << " bytes" << endl; 259 << nframes * tmpbufch * sizeof(float) << " bytes" << endl;
260 #endif 260 #endif
261 261
262 pa_stream_write(m_stream, output, nframes * tmpbufch * sizeof(float), 262 pa_stream_write(m_stream, output,
263 size_t(nframes * tmpbufch * sizeof(float)),
263 0, 0, PA_SEEK_RELATIVE); 264 0, 0, PA_SEEK_RELATIVE);
264 265
265 m_source->setOutputLevels(peakLeft, peakRight); 266 m_source->setOutputLevels(peakLeft, peakRight);
266 267
267 return; 268 return;