X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fperformance.cc;h=46180d0e5d857a16a0445cd15af6733a42eb21a7;hb=646a2265ea72c4007d9590a5d6d9a10ffc54ef29;hp=e536622f06f550336876ea29f4e3b421df787bce;hpb=5ed10e40db547f70f6f5b3ae2092ab0997d89fa3;p=lilypond.git diff --git a/lily/performance.cc b/lily/performance.cc index e536622f06..46180d0e5d 100644 --- a/lily/performance.cc +++ b/lily/performance.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2007 Jan Nieuwenhuizen + (c) 1997--2009 Jan Nieuwenhuizen */ #include "performance.hh" @@ -94,7 +94,6 @@ Performance::write_output (string out) const /* Maybe a bit crude, but we had this before */ File_name file_name (out); - file_name.ext_ = "midi"; out = file_name.to_string (); Midi_stream midi_stream (out); @@ -109,3 +108,9 @@ void Performance::process () { } + +Performance * +unsmob_performance (SCM x) +{ + return dynamic_cast (unsmob_music_output (x)); +}