]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/midi-walker.hh
release: 1.0.1
[lilypond.git] / lily / include / midi-walker.hh
index a9ce619a09d79721e96d1e2fed0a084537ea02d9..3be3395e621f2a75b9530708b4380a0788fdadb5 100644 (file)
@@ -1,8 +1,8 @@
 /*
   midi-walker.hh -- declare Midi_walker
 
-  (c) 1996, 1997 Han-Wen Nienhuys  <hanwen@stack.nl>
-                 Jan Nieuwenhuizen <jan@digicash.com>
+  (c) 1996,  1997--1998 Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+                 Jan Nieuwenhuizen <janneke@gnu.org>
  */
 
 #ifndef MIDI_WALKER_HH
@@ -21,7 +21,7 @@ struct Midi_note_event : PQueue_ent<Moment, Midi_note_off*>
     Midi_note_event();
 };
 
-int compare(Midi_note_event const& left, Midi_note_event const& right );
+int compare (Midi_note_event const& left, Midi_note_event const& right);
 
 /**
   walk audio and output midi
@@ -29,15 +29,15 @@ int compare(Midi_note_event const& left, Midi_note_event const& right );
 class Midi_walker : public PCursor<Audio_item*> 
 {
 public:
-    Midi_walker( Audio_staff* audio_staff_l, Midi_track* midi_track_l );
+    Midi_walker (Audio_staff* audio_staff_l, Midi_track* midi_track_l);
     ~Midi_walker();
 
     void process();
 
 private:
-    void do_start_note( Midi_note* note_l );
-    void do_stop_notes( Moment now_mom );
-    void output_event( Moment now_mom, Midi_item* l );
+    void do_start_note (Midi_note* note_p);
+    void do_stop_notes (Moment now_mom);
+    void output_event (Moment now_mom, Midi_item* l);
 
     Midi_track* track_l_;
     PQueue<Midi_note_event> stop_note_queue;