]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/midi-walker.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / midi-walker.hh
index 69bf4c8a9b939589e41caf9fa62cc2390cd174a3..86e82a009a0d99ee1042b79858b97367e79d8e74 100644 (file)
@@ -1,7 +1,7 @@
 /*
   midi-walker.hh -- declare Midi_walker
 
-  (c) 1996--2007 Han-Wen Nienhuys  <hanwen@xs4all.nl>
+  (c) 1996--2008 Han-Wen Nienhuys  <hanwen@xs4all.nl>
   Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
@@ -33,12 +33,12 @@ public:
   void process ();
   void operator ++ (int);
   bool ok () const;
-
+  void finalize ();
 private:
   void do_start_note (Midi_note *note);
   void do_stop_notes (int);
   void output_event (int, Midi_item *l);
-  
+  Midi_item *get_midi (Audio_item*); 
   int channel_;
   Midi_track *track_;
   Audio_staff *staff_;
@@ -47,6 +47,7 @@ private:
   PQueue<Midi_note_event> stop_note_queue;
   int last_tick_;
 
+  vector<Midi_item*> midi_events_;
 };
 
 #endif // MIDI_WALKER_HH