Mercurial > hg > svapp
diff audio/AudioCallbackPlaySource.h @ 544:c4391f6c7484 bqresample
Start pruning other resampler logic than bqresample
author | Chris Cannam |
---|---|
date | Mon, 05 Dec 2016 16:56:36 +0000 |
parents | 39e94df71d24 |
children | c732251237b1 |
line wrap: on
line diff
--- a/audio/AudioCallbackPlaySource.h Mon Dec 05 16:39:03 2016 +0000 +++ b/audio/AudioCallbackPlaySource.h Mon Dec 05 16:56:36 2016 +0000 @@ -39,6 +39,10 @@ class RubberBandStretcher; } +namespace breakfastquay { + class Resampler; +} + class Model; class ViewManagerBase; class AudioGenerator; @@ -226,12 +230,6 @@ void setTimeStretch(double factor); /** - * Set the resampler quality, 0 - 2 where 0 is fastest and 2 is - * highest quality. - */ - void setResampleQuality(int q); - - /** * Set a single real-time plugin as a processing effect for * auditioning during playback. * @@ -395,9 +393,8 @@ QMutex m_mutex; QWaitCondition m_condition; FillThread *m_fillThread; - SRC_STATE *m_converter; - int m_resampleQuality; - void initialiseConverter(); + breakfastquay::Resampler *m_resampler; + void initialiseResampler(); }; #endif