]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/audio-item.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / audio-item.cc
index 3cf2300827ebda38c1d0f868ce05eea3b1efb536..0e4ded6386cfc23d852df3548cd9ffe54ce3ca8e 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2004 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1997--2006 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "audio-item.hh"
@@ -11,7 +11,7 @@
 #include "midi-item.hh"
 #include "audio-column.hh"
 
-Audio_instrument::Audio_instrument (String instrument_string)
+Audio_instrument::Audio_instrument (string instrument_string)
 {
   str_ = instrument_string;
 }
@@ -30,21 +30,20 @@ Audio_note::Audio_note (Pitch p, Moment m, int transposing_i)
 }
 
 void
-Audio_note::tie_to (Audio_notet)
+Audio_note::tie_to (Audio_note *t)
 {
   tied_ = t;
-  Audio_notefirst = 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)
@@ -63,7 +62,7 @@ Audio_time_signature::Audio_time_signature (int beats, int one_beat)
   one_beat_ = one_beat;
 }
 
-Audio_text::Audio_text (Audio_text::Type type, String text_string)
+Audio_text::Audio_text (Audio_text::Type type, string text_string)
 {
   text_string_ = text_string;
   type_ = type;