diff 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
line wrap: on
line diff
--- a/audioio/AudioGenerator.h	Fri Aug 14 14:01:09 2009 +0000
+++ b/audioio/AudioGenerator.h	Tue Aug 18 11:01:32 2009 +0000
@@ -115,7 +115,7 @@
 
     typedef std::map<const Model *, RealTimePluginInstance *> PluginMap;
 
-    typedef std::set<NoteOff, NoteOff::Comparator> NoteOffSet;
+    typedef std::multiset<NoteOff, NoteOff::Comparator> NoteOffSet;
     typedef std::map<const Model *, NoteOffSet> NoteOffMap;
 
     QMutex m_mutex;