comparison audioio/AudioCallbackPlaySource.cpp @ 105:907e44e4ecf0

* juggle some files around in order to free audioio, base, and system libraries from dependency on QtGui
author Chris Cannam
date Wed, 12 Mar 2008 17:42:56 +0000
parents 2485f822dc54
children 52af71802ffd
comparison
equal deleted inserted replaced
104:e154e24b7ec3 105:907e44e4ecf0
16 #include "AudioCallbackPlaySource.h" 16 #include "AudioCallbackPlaySource.h"
17 17
18 #include "AudioGenerator.h" 18 #include "AudioGenerator.h"
19 19
20 #include "data/model/Model.h" 20 #include "data/model/Model.h"
21 #include "view/ViewManager.h" 21 #include "base/ViewManagerBase.h"
22 #include "base/PlayParameterRepository.h" 22 #include "base/PlayParameterRepository.h"
23 #include "base/Preferences.h" 23 #include "base/Preferences.h"
24 #include "data/model/DenseTimeValueModel.h" 24 #include "data/model/DenseTimeValueModel.h"
25 #include "data/model/WaveFileModel.h" 25 #include "data/model/WaveFileModel.h"
26 #include "data/model/SparseOneDimensionalModel.h" 26 #include "data/model/SparseOneDimensionalModel.h"
37 //#define DEBUG_AUDIO_PLAY_SOURCE 1 37 //#define DEBUG_AUDIO_PLAY_SOURCE 1
38 //#define DEBUG_AUDIO_PLAY_SOURCE_PLAYING 1 38 //#define DEBUG_AUDIO_PLAY_SOURCE_PLAYING 1
39 39
40 const size_t AudioCallbackPlaySource::m_ringBufferSize = 131071; 40 const size_t AudioCallbackPlaySource::m_ringBufferSize = 131071;
41 41
42 AudioCallbackPlaySource::AudioCallbackPlaySource(ViewManager *manager, 42 AudioCallbackPlaySource::AudioCallbackPlaySource(ViewManagerBase *manager,
43 QString clientName) : 43 QString clientName) :
44 m_viewManager(manager), 44 m_viewManager(manager),
45 m_audioGenerator(new AudioGenerator()), 45 m_audioGenerator(new AudioGenerator()),
46 m_clientName(clientName), 46 m_clientName(clientName),
47 m_readBuffers(0), 47 m_readBuffers(0),