changeset 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 7dae51741cc9
children 0db3fc28a2a1
files audioio/AudioGenerator.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;