X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fperformance.cc;h=8ae1edfaf35af5fe869361a4e2d1def28883d3e0;hb=5c14a087ca6cbd665fd631452b7b1283ba0387c3;hp=e536622f06f550336876ea29f4e3b421df787bce;hpb=ac1340846e81661575ba3036b251e8ab55b13023;p=lilypond.git diff --git a/lily/performance.cc b/lily/performance.cc index e536622f06..8ae1edfaf3 100644 --- a/lily/performance.cc +++ b/lily/performance.cc @@ -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)); +}