X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Faudio-item.cc;h=3774f732e9fa964e8cf9b3738bcd33b1f5b21cf6;hb=32cdc3e2bc738e82c0965bdc5d8d99830e929092;hp=d72adbcc7d9011031e3a73f3fd0244e7b2d85338;hpb=7e72a1e50e94a7f9738d62599de79fe7745f600c;p=lilypond.git diff --git a/lily/audio-item.cc b/lily/audio-item.cc index d72adbcc7d..3774f732e9 100644 --- a/lily/audio-item.cc +++ b/lily/audio-item.cc @@ -3,10 +3,11 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2004 Jan Nieuwenhuizen + (c) 1997--2005 Jan Nieuwenhuizen */ #include "audio-item.hh" + #include "midi-item.hh" #include "audio-column.hh" @@ -29,21 +30,20 @@ Audio_note::Audio_note (Pitch p, Moment m, int transposing_i) } void -Audio_note::tie_to (Audio_note* t) +Audio_note::tie_to (Audio_note *t) { tied_ = t; - Audio_note* first = t; + Audio_note *first = t; while (first->tied_) first = first->tied_; first->length_mom_ += length_mom_; length_mom_ = 0; } - Audio_key::Audio_key (int acc, bool major) { - accidentals_=acc; - major_=major; + accidentals_ = acc; + major_ = major; } Audio_dynamic::Audio_dynamic (Real volume) @@ -68,21 +68,3 @@ Audio_text::Audio_text (Audio_text::Type type, String text_string) type_ = type; } -Audio_tie::Audio_tie () -{ - note_drul_[RIGHT] = 0; - note_drul_[LEFT] = 0; -} - -void -Audio_tie::set_note (Direction d, Audio_note* note) -{ - assert (!note_drul_[d]); - note_drul_[d] = note; - //set_bound (d, head); - - // add_dependency (head); -} - - -