comparison audioio/AudioGenerator.h @ 178:e81c1ea227ee

* Fix failure to send note-offs where multiple notes end at the same sample frame
author Chris Cannam
date Tue, 18 Aug 2009 11:01:32 +0000
parents e25e8f5d785b
children a98f1638c5ec 6c6950bd7d53
comparison
equal deleted inserted replaced
177:7dae51741cc9 178:e81c1ea227ee
113 }; 113 };
114 }; 114 };
115 115
116 typedef std::map<const Model *, RealTimePluginInstance *> PluginMap; 116 typedef std::map<const Model *, RealTimePluginInstance *> PluginMap;
117 117
118 typedef std::set<NoteOff, NoteOff::Comparator> NoteOffSet; 118 typedef std::multiset<NoteOff, NoteOff::Comparator> NoteOffSet;
119 typedef std::map<const Model *, NoteOffSet> NoteOffMap; 119 typedef std::map<const Model *, NoteOffSet> NoteOffMap;
120 120
121 QMutex m_mutex; 121 QMutex m_mutex;
122 PluginMap m_synthMap; 122 PluginMap m_synthMap;
123 NoteOffMap m_noteOffs; 123 NoteOffMap m_noteOffs;