]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/drum-note-performer.cc
Merge branch 'issue4032'
[lilypond.git] / lily / drum-note-performer.cc
index 531c3dde3264a017beb05184df008940cdf0f52c..44a624313b803c8900097ad6dd271b9b5d91b29a 100644 (file)
@@ -58,7 +58,7 @@ Drum_note_performer::process_music ()
           && (scm_hash_table_p (tab) == SCM_BOOL_T))
         defn = scm_hashq_ref (tab, sym, SCM_EOL);
 
-      if (Pitch *pit = unsmob_pitch (defn))
+      if (Pitch *pit = Pitch::unsmob (defn))
         {
           SCM articulations = n->get_property ("articulations");
           Stream_event *tie_event = 0;
@@ -66,7 +66,7 @@ Drum_note_performer::process_music ()
           int velocity = 0;
           for (SCM s = articulations; scm_is_pair (s); s = scm_cdr (s))
             {
-              Stream_event *ev = unsmob_stream_event (scm_car (s));
+              Stream_event *ev = Stream_event::unsmob (scm_car (s));
               if (!ev)
                 continue;