X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Faudio-staff.hh;h=13124cfc09162ce4e1216b1644b9c5feaf8bfd41;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=d2a2baeba32fd336b87330d5126e7f565b4ff063;hpb=9d4a5bbc9687aef811a60aabd9cb839412984e96;p=lilypond.git diff --git a/lily/include/audio-staff.hh b/lily/include/audio-staff.hh index d2a2baeba3..13124cfc09 100644 --- a/lily/include/audio-staff.hh +++ b/lily/include/audio-staff.hh @@ -1,7 +1,20 @@ /* - audio-staff.hh -- declare Audio_staff + This file is part of LilyPond, the GNU music typesetter. - (c) 1996--2006 Jan Nieuwenhuizen + Copyright (C) 1996--2015 Jan Nieuwenhuizen + + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #ifndef AUDIO_STAFF_HH @@ -13,11 +26,14 @@ struct Audio_staff : public Audio_element { - void add_audio_item (Audio_item *l); - void output (Midi_stream &midi_stream_r, int track_i); + void add_audio_item (Audio_item *ai); + void output (Midi_stream &midi_stream_r, int track, bool port, int start_tick); + + Audio_staff (); - Link_array__Audio_item_ audio_items_; - int channel_; + bool percussion_; + bool merge_unisons_; + vector audio_items_; }; #endif // AUDIO_STAFF_HH