]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/key-performer.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / key-performer.cc
index f9afd63b274aaa38c22438902bde2b51cafded07..26dbe93a8dec76763045dbb5d5b6c7d5f622e2bd 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1997--2006 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "music-sequence.hh"
@@ -19,7 +19,7 @@ public:
 
 protected:
   virtual bool try_music (Music *ev);
-  virtual void create_audio_elements ();
+  void process_music ();
   void stop_translation_timestep ();
 
 private:
@@ -38,7 +38,7 @@ Key_performer::~Key_performer ()
 }
 
 void
-Key_performer::create_audio_elements ()
+Key_performer::process_music ()
 {
   if (key_ev_)
     {
@@ -89,9 +89,7 @@ bool
 Key_performer::try_music (Music *ev)
 {
   if (!key_ev_)
-    {
-      key_ev_ = ev;
-    }
+    key_ev_ = ev;
 
   return true;
 }