Mercurial > hg > svapp
comparison audioio/AudioCallbackPlaySource.h @ 94:9cc9862333bd sv1-v1.2pre4
* a hack to try to prevent playback pointer bouncing back when playback starts
author | Chris Cannam |
---|---|
date | Mon, 11 Feb 2008 17:08:59 +0000 |
parents | 737b373246b5 |
children | 8591a0a3d57e |
comparison
equal
deleted
inserted
replaced
93:737b373246b5 | 94:9cc9862333bd |
---|---|
295 float m_outputLeft; | 295 float m_outputLeft; |
296 float m_outputRight; | 296 float m_outputRight; |
297 RealTimePluginInstance *m_auditioningPlugin; | 297 RealTimePluginInstance *m_auditioningPlugin; |
298 bool m_auditioningPluginBypassed; | 298 bool m_auditioningPluginBypassed; |
299 Scavenger<RealTimePluginInstance> m_pluginScavenger; | 299 Scavenger<RealTimePluginInstance> m_pluginScavenger; |
300 size_t m_playStartFrame; | |
301 bool m_playStartFramePassed; | |
302 RealTime m_playStartedAt; | |
300 | 303 |
301 RingBuffer<float> *getWriteRingBuffer(size_t c) { | 304 RingBuffer<float> *getWriteRingBuffer(size_t c) { |
302 if (m_writeBuffers && c < m_writeBuffers->size()) { | 305 if (m_writeBuffers && c < m_writeBuffers->size()) { |
303 return (*m_writeBuffers)[c]; | 306 return (*m_writeBuffers)[c]; |
304 } else { | 307 } else { |