Mercurial > hg > svapp
diff audioio/AudioCallbackPlaySource.cpp @ 34:f6b15e0b6fde
* fix long-standing failure to silence layers that have been deleted
* fix deadlock in WaveFileModel::cacheFilled
* fixes and speedups to new CodedAudioFileReader
* trap signals in main, clean up temporary directory
author | Chris Cannam |
---|---|
date | Fri, 28 Apr 2006 12:19:09 +0000 |
parents | 3e0794460c4e |
children | 54287e5e7451 |
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.cpp Thu Apr 27 11:49:34 2006 +0000 +++ b/audioio/AudioCallbackPlaySource.cpp Fri Apr 28 12:19:09 2006 +0000 @@ -96,6 +96,8 @@ void AudioCallbackPlaySource::addModel(Model *model) { + if (m_models.find(model) != m_models.end()) return; + bool canPlay = m_audioGenerator->addModel(model); m_mutex.lock();