comparison audio/AudioCallbackPlaySource.h @ 550:c732251237b1 bqresample

Merge from branch 3.0-integration
author Chris Cannam
date Wed, 07 Dec 2016 12:04:41 +0000
parents c4391f6c7484 4de547a5905c
children b9d8c7a690d6
comparison
equal deleted inserted replaced
549:ec189ad4d38f 550:c732251237b1
165 * Return the sample rate set by the target audio device (or the 165 * Return the sample rate set by the target audio device (or the
166 * source sample rate if the target hasn't set one). 166 * source sample rate if the target hasn't set one).
167 */ 167 */
168 virtual sv_samplerate_t getTargetSampleRate() const; 168 virtual sv_samplerate_t getTargetSampleRate() const;
169 169
170 /**
171 * Indicate how many channels the target audio device was opened
172 * with. Note that the target device does channel mixing in the
173 * case where our requested channel count does not match its.
174 */
175 void setSystemPlaybackChannelCount(int);
176
170 /** 177 /**
171 * Set the current output levels for metering (for call from the 178 * Set the current output levels for metering (for call from the
172 * target) 179 * target)
173 */ 180 */
174 void setOutputLevels(float left, float right); 181 void setOutputLevels(float left, float right);
391 }; 398 };
392 399
393 QMutex m_mutex; 400 QMutex m_mutex;
394 QWaitCondition m_condition; 401 QWaitCondition m_condition;
395 FillThread *m_fillThread; 402 FillThread *m_fillThread;
396 breakfastquay::Resampler *m_resampler;
397 void initialiseResampler();
398 }; 403 };
399 404
400 #endif 405 #endif
401 406
402 407