]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-performer.cc
* The grand 2005-2006 replace.
[lilypond.git] / lily / note-performer.cc
index 333196f9bdb23d9180927f3958503190945a582b..28ff54d2b554257955712bea2782843eba89e3a5 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1996--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1996--2006 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "performer.hh"
@@ -24,8 +24,8 @@ public:
 protected:
   virtual bool try_music (Music *ev);
 
-  PRECOMPUTED_VIRTUAL void stop_translation_timestep ();
-  virtual void create_audio_elements ();
+  void stop_translation_timestep ();
+  void process_music ();
 
 private:
   Link_array<Music> note_evs_;
@@ -33,7 +33,7 @@ private:
 };
 
 void
-Note_performer::create_audio_elements ()
+Note_performer::process_music ()
 {
   if (note_evs_.size ())
     {
@@ -67,9 +67,7 @@ Note_performer::stop_translation_timestep ()
   // --> grace notes effectively do not get delayed
   Moment now = now_mom ();
   for (int i = 0; i < notes_.size (); i++)
-    {
-      play_element (notes_[i]);
-    }
+    play_element (notes_[i]);
   notes_.clear ();
   note_evs_.clear ();
 }
@@ -91,7 +89,9 @@ Note_performer::try_music (Music *ev)
 #include "translator.icc"
 
 ADD_TRANSLATOR (Note_performer, "", "",
-               "note-event busy-playing-event", "", "", "");
+               "note-event "
+               "busy-playing-event",
+               "", "");
 
 Note_performer::Note_performer ()
 {