]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/score-performer.cc
Merge branch 'issue4032'
[lilypond.git] / lily / score-performer.cc
index 92c6625534b39ffb22477c60d1a209aa9aed26ce..e14fa62638b9f6437330a6d102e0f2e85d66e104 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1996--2012 Jan Nieuwenhuizen <janneke@gnu.org>
+  Copyright (C) 1996--2014 Jan Nieuwenhuizen <janneke@gnu.org>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -106,9 +106,9 @@ IMPLEMENT_LISTENER (Score_performer, prepare);
 void
 Score_performer::prepare (SCM sev)
 {
-  Stream_event *ev = unsmob_stream_event (sev);
+  Stream_event *ev = Stream_event::unsmob (sev);
   SCM sm = ev->get_property ("moment");
-  Moment *m = unsmob_moment (sm);
+  Moment *m = Moment::unsmob (sm);
   audio_column_ = new Audio_column (*m);
   announce_element (Audio_element_info (audio_column_, 0));
   precomputed_recurse_over_translators (context (), START_TRANSLATION_TIMESTEP, UP);
@@ -141,7 +141,7 @@ Score_performer::one_time_step (SCM)
   // would appear not to suffer any bad side effects.
 
   if (!audio_column_)
-    audio_column_ = new Audio_column (context ()->get_global_context ()->now_mom ());
+    audio_column_ = new Audio_column (context ()->now_mom ());
   if (to_boolean (context ()->get_property ("skipTypesetting")))
     {
       if (!skipping_)