]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/midi-def.cc
release: 0.1.39
[lilypond.git] / lily / midi-def.cc
index 1415298439c1fc7d6da9c0d4a727dee4f3d1415c..480e0a7969576ac21bd8192e81da1fe48f7f5359 100644 (file)
@@ -23,7 +23,6 @@
 
 Midi_def::Midi_def()
 {
-  outfile_str_ = ""; 
   // ugh
   set_tempo (Moment (1, 4), 60);
 }
@@ -61,12 +60,19 @@ void
 Midi_def::print() const
 {
 #ifndef NPRINT
+  Music_output_def::print ();
   DOUT << "Midi {";
   DOUT << "4/min: " << Real (60) / (whole_in_seconds_mom_ * 4);
-  DOUT << "out: " << outfile_str_;
   DOUT << "}\n";
 #endif
 }
 
 
 IMPLEMENT_IS_TYPE_B1(Midi_def, Music_output_def);
+
+int Midi_def::default_count_i_=0;
+int
+Midi_def::get_next_default_count () const
+{
+  return default_count_i_++;
+}