Mercurial > hg > svapp
diff audio/AudioCallbackPlaySource.h @ 543:699db455a3e1 3.0-integration
Start pruning other resampler logic than bqresample
author | Chris Cannam |
---|---|
date | Mon, 05 Dec 2016 16:54:19 +0000 |
parents | 39e94df71d24 |
children | 4de547a5905c |
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:54:19 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,8 +393,7 @@ QMutex m_mutex; QWaitCondition m_condition; FillThread *m_fillThread; - SRC_STATE *m_converter; - int m_resampleQuality; + breakfastquay::Resampler *m_resampler; void initialiseConverter(); };