diff runner/MIDIFeatureWriter.h @ 175:977b7007071f

TransformId is not sufficient -- it could be ambiguous (same transform id, different parameters etc). Use the whole transform
author Chris Cannam
date Wed, 15 Oct 2014 16:58:00 +0100
parents b3d73c08b6ce
children 3f7c65f26559
line wrap: on
line diff
--- a/runner/MIDIFeatureWriter.h	Wed Oct 15 16:54:35 2014 +0100
+++ b/runner/MIDIFeatureWriter.h	Wed Oct 15 16:58:00 2014 +0100
@@ -63,13 +63,13 @@
     typedef map<QString, NoteList> NoteMap; // output filename -> notes
     NoteMap m_notes;
     
-    typedef map<QString, set<TransformId> > FileTransformMap;
+    typedef map<QString, set<Transform> > FileTransformMap;
     FileTransformMap m_fileTransforms;
 
     typedef map<QString, float> SampleRateMap; // NoteData uses sample timing
     SampleRateMap m_rates;
 
-    typedef map<TransformId, int> ChannelMap;
+    typedef map<Transform, int> ChannelMap;
     ChannelMap m_channels;
     
     typedef map<QString, int> NextChannelMap;