comparison audioio/AudioCallbackPlaySource.cpp @ 30:f38b8abd3540

* Pull out temporary directory management into its own class * Make sure playback plugins get a default sample path in their original play parameters configuration * Save play parameters to .sv file (we aren't reloading yet though)
author Chris Cannam
date Tue, 25 Apr 2006 22:14:43 +0000
parents dd2084d32652
children 3e0794460c4e
comparison
equal deleted inserted replaced
29:dd2084d32652 30:f38b8abd3540
33 //const size_t AudioCallbackPlaySource::m_ringBufferSize = 102400; 33 //const size_t AudioCallbackPlaySource::m_ringBufferSize = 102400;
34 const size_t AudioCallbackPlaySource::m_ringBufferSize = 131071; 34 const size_t AudioCallbackPlaySource::m_ringBufferSize = 131071;
35 35
36 AudioCallbackPlaySource::AudioCallbackPlaySource(ViewManager *manager) : 36 AudioCallbackPlaySource::AudioCallbackPlaySource(ViewManager *manager) :
37 m_viewManager(manager), 37 m_viewManager(manager),
38 m_audioGenerator(new AudioGenerator(manager)), 38 m_audioGenerator(new AudioGenerator()),
39 m_readBuffers(0), 39 m_readBuffers(0),
40 m_writeBuffers(0), 40 m_writeBuffers(0),
41 m_readBufferFill(0), 41 m_readBufferFill(0),
42 m_writeBufferFill(0), 42 m_writeBufferFill(0),
43 m_bufferScavenger(1), 43 m_bufferScavenger(1),