]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/performer-group.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / performer-group.cc
index 990f478bf823f5395ec2715d90912342d0b228b3..9e71c6e7629c4ec817db3ca75bbea04fa337832c 100644 (file)
@@ -96,3 +96,15 @@ Performer_group::play_element (Audio_element *e)
     }
 }
 
+int
+Performer_group::get_tempo () const
+{
+  Context *c = context_->get_parent_context ();
+  if (c)
+    {
+      Performer_group *pgp = dynamic_cast<Performer_group *> (c->implementation ());
+      return pgp->get_tempo ();
+    }
+  return 60;
+}
+