comparison 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
comparison
equal deleted inserted replaced
461:1020db1698c0 464:39ab248a4998
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;