]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tempo-performer.cc
* GNUmakefile.in: config.h message fix.
[lilypond.git] / lily / tempo-performer.cc
index f457b428985acd45b65929a410ac256d1af27554..1dce3712d5b7d96e057e7421777ab51ca24fded4 100644 (file)
@@ -6,7 +6,7 @@
   (c)  1997--2002 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
-#include "command-request.hh"
+
 #include "audio-item.hh"
 #include "performer.hh"
 
@@ -47,7 +47,7 @@ Tempo_performer::create_audio_elements ()
       SCM met = tempo_req_->get_mus_property ("metronome-count");
       Duration *d = unsmob_duration (tempo_req_->get_mus_property ("duration"));
       
-      Rational r =  (d->length_mom () / Moment (Rational (1, 4)) * Moment (gh_scm2int (met))).main_part_;
+      Rational r =  (d->get_length () / Moment (Rational (1, 4)) * Moment (gh_scm2int (met))).main_part_;
       
       audio_ = new Audio_tempo (int (r));