]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/piano-pedal-performer.cc
(pango_item_string_stencil): put
[lilypond.git] / lily / piano-pedal-performer.cc
index fe0bcff1f0a3c56fff4d2da9be07e9f54727c955..ea4889f11bbeb1ec3ed6c506d3e407d3a54eaa2e 100644 (file)
@@ -29,7 +29,7 @@ public:
 protected:
   virtual void initialize ();
   virtual bool try_music (Music *);
-  virtual void create_audio_elements ();
+  void process_music ();
   void stop_translation_timestep ();
   void start_translation_timestep ();
 
@@ -69,7 +69,7 @@ Piano_pedal_performer::initialize ()
 }
 
 void
-Piano_pedal_performer::create_audio_elements ()
+Piano_pedal_performer::process_music ()
 {
   for (Pedal_info *p = info_alist_; p && p->name_; p++)
 
@@ -77,9 +77,7 @@ Piano_pedal_performer::create_audio_elements ()
       if (p->event_drul_[STOP])
        {
          if (!p->start_event_)
-           {
-             p->event_drul_[STOP]->origin ()->warning (_f ("can't find start of piano pedal: `%s'", String (p->name_)));
-           }
+           p->event_drul_[STOP]->origin ()->warning (_f ("can't find start of piano pedal: `%s'", String (p->name_)));
          else
            {
              Audio_piano_pedal *a = new Audio_piano_pedal;