]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/audio-staff.cc
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / lily / audio-staff.cc
index ddab7e04bc11d2fa9e6b0c7a5a1a740631c1eecd..0e2c8205ba5766845aa66908cd9667575afc8328 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2011 Jan Nieuwenhuizen <janneke@gnu.org>
+  Copyright (C) 1997--2015 Jan Nieuwenhuizen <janneke@gnu.org>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -35,16 +35,16 @@ Audio_staff::Audio_staff ()
 }
 
 void
-Audio_staff::output (Midi_stream &midi_stream, int track, bool port)
+Audio_staff::output (Midi_stream &midi_stream, int track, bool port, int start_tick)
 {
   Midi_track midi_track (track, port);
 
-  Midi_walker i (this, &midi_track);
+  Midi_walker i (this, &midi_track, start_tick);
   for (; i.ok (); i++)
     i.process ();
 
   i.finalize ();
-  
+
   midi_stream.write (midi_track);
 }