Mercurial > hg > svapp
diff audio/AudioCallbackPlaySource.h @ 551:b9d8c7a690d6 bqresample
Add a ResamplerWrapper
author | Chris Cannam |
---|---|
date | Wed, 07 Dec 2016 13:57:45 +0000 |
parents | c732251237b1 |
children | 8c11ca1ebc39 |
line wrap: on
line diff
--- a/audio/AudioCallbackPlaySource.h Wed Dec 07 12:04:41 2016 +0000 +++ b/audio/AudioCallbackPlaySource.h Wed Dec 07 13:57:45 2016 +0000 @@ -40,7 +40,7 @@ } namespace breakfastquay { - class Resampler; + class ResamplerWrapper; } class Model; @@ -125,6 +125,11 @@ virtual void setSystemPlaybackTarget(breakfastquay::SystemPlaybackTarget *); /** + * Set the resampler wrapper, if one is in use. + */ + virtual void setResamplerWrapper(breakfastquay::ResamplerWrapper *); + + /** * Set the block size of the target audio device. This should be * called by the target class. */ @@ -400,6 +405,7 @@ QMutex m_mutex; QWaitCondition m_condition; FillThread *m_fillThread; + breakfastquay::ResamplerWrapper *m_resamplerWrapper; // I don't own this }; #endif