Mercurial > hg > svapp
comparison audioio/AudioGenerator.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 | 42989c2e621b |
children | b9e76c9e631c |
comparison
equal
deleted
inserted
replaced
33:3e0794460c4e | 34:f6b15e0b6fde |
---|---|
157 QString program = ""; | 157 QString program = ""; |
158 | 158 |
159 const SparseOneDimensionalModel *sodm = | 159 const SparseOneDimensionalModel *sodm = |
160 dynamic_cast<const SparseOneDimensionalModel *>(model); | 160 dynamic_cast<const SparseOneDimensionalModel *>(model); |
161 if (sodm) { | 161 if (sodm) { |
162 program = "cowbell"; | 162 program = "tap"; |
163 } | 163 } |
164 | 164 |
165 const NoteModel *nm = dynamic_cast<const NoteModel *>(model); | 165 const NoteModel *nm = dynamic_cast<const NoteModel *>(model); |
166 if (nm) { | 166 if (nm) { |
167 program = "piano"; | 167 program = "piano"; |