Mercurial > hg > sonic-visualiser
comparison audioio/AudioCallbackPlaySource.h @ 42:c0ae41c72421
* Bypass auditioning plugin on xrun
author | Chris Cannam |
---|---|
date | Wed, 04 Oct 2006 11:54:32 +0000 |
parents | fbd7a497fd89 |
children | bedc7517b6e8 |
comparison
equal
deleted
inserted
replaced
41:fbd7a497fd89 | 42:c0ae41c72421 |
---|---|
214 void modelReplaced(); | 214 void modelReplaced(); |
215 | 215 |
216 void playStatusChanged(bool isPlaying); | 216 void playStatusChanged(bool isPlaying); |
217 | 217 |
218 void sampleRateMismatch(size_t requested, size_t available, bool willResample); | 218 void sampleRateMismatch(size_t requested, size_t available, bool willResample); |
219 | |
220 void audioOverloadPluginDisabled(); | |
221 | |
222 public slots: | |
223 void audioProcessingOverload(); | |
219 | 224 |
220 protected slots: | 225 protected slots: |
221 void selectionChanged(); | 226 void selectionChanged(); |
222 void playLoopModeChanged(); | 227 void playLoopModeChanged(); |
223 void playSelectionModeChanged(); | 228 void playSelectionModeChanged(); |
254 size_t m_lastModelEndFrame; | 259 size_t m_lastModelEndFrame; |
255 static const size_t m_ringBufferSize; | 260 static const size_t m_ringBufferSize; |
256 float m_outputLeft; | 261 float m_outputLeft; |
257 float m_outputRight; | 262 float m_outputRight; |
258 RealTimePluginInstance *m_auditioningPlugin; | 263 RealTimePluginInstance *m_auditioningPlugin; |
264 bool m_auditioningPluginBypassed; | |
259 Scavenger<RealTimePluginInstance> m_pluginScavenger; | 265 Scavenger<RealTimePluginInstance> m_pluginScavenger; |
260 | 266 |
261 RingBuffer<float> *getWriteRingBuffer(size_t c) { | 267 RingBuffer<float> *getWriteRingBuffer(size_t c) { |
262 if (m_writeBuffers && c < m_writeBuffers->size()) { | 268 if (m_writeBuffers && c < m_writeBuffers->size()) { |
263 return (*m_writeBuffers)[c]; | 269 return (*m_writeBuffers)[c]; |