]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/performance.cc
Merge master into nested-bookparts
[lilypond.git] / lily / performance.cc
index e536622f06f550336876ea29f4e3b421df787bce..8ae1edfaf35af5fe869361a4e2d1def28883d3e0 100644 (file)
@@ -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<Performance*> (unsmob_music_output (x));
+}