Mercurial > hg > svapp
diff audioio/AudioCallbackPlaySource.h @ 130:4c9c04645685
* Reduce time stretcher to one channel when overload occurs
author | Chris Cannam |
---|---|
date | Mon, 07 Jul 2008 16:49:53 +0000 |
parents | 52af71802ffd |
children | 72495c4cd315 |
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.h Thu Jun 26 12:41:23 2008 +0000 +++ b/audioio/AudioCallbackPlaySource.h Mon Jul 07 16:49:53 2008 +0000 @@ -247,6 +247,7 @@ void sampleRateMismatch(size_t requested, size_t available, bool willResample); void audioOverloadPluginDisabled(); + void audioTimeStretchMultiChannelDisabled(); public slots: void audioProcessingOverload(); @@ -324,7 +325,9 @@ void unifyRingBuffers(); RubberBand::RubberBandStretcher *m_timeStretcher; + RubberBand::RubberBandStretcher *m_monoStretcher; float m_stretchRatio; + bool m_stretchMono; size_t m_stretcherInputCount; float **m_stretcherInputs;