]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/audio-staff.hh
Add '-dcrop' option to ps and svg backends
[lilypond.git] / lily / include / audio-staff.hh
index ca1fdb9b5c368309ea1a5aaeff53afd5de57411f..a4a9d8a0d1386a9fc87e2446ba107fecefb2f54a 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1996--2014 Jan Nieuwenhuizen <janneke@gnu.org>
+  Copyright (C) 1996--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
@@ -27,7 +27,7 @@
 struct Audio_staff : public Audio_element
 {
   void add_audio_item (Audio_item *ai);
-  void output (Midi_stream &midi_stream_r, int track, bool port);
+  void output (Midi_stream &midi_stream_r, int track, bool port, int start_tick);
 
   Audio_staff ();
 
@@ -36,4 +36,10 @@ struct Audio_staff : public Audio_element
   vector<Audio_item *> audio_items_;
 };
 
+// Subtype to identify a staff that represents the "control track" of a MIDI
+// sequence (created by Control_track_performer).
+struct Audio_control_track_staff : public Audio_staff
+{
+};
+
 #endif // AUDIO_STAFF_HH