Add 128th flags
[lilypond.git] / lily / audio-column.cc
blob0b60edf6be790540bf8836c9e279079c6c8bffc7
1 /*
2 audio-column.cc -- implement Audio_column
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2008 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
9 #include "audio-column.hh"
11 #include "audio-item.hh"
12 #include "performance.hh"
14 Audio_column::Audio_column (Moment when)
16 when_ = when;
19 void
20 Audio_column::add_audio_item (Audio_item *l)
22 audio_items_.push_back (l);
23 l->audio_column_ = this;
26 Moment
27 Audio_column::when () const
29 return when_;
32 int
33 Audio_column::ticks () const
35 return int (moment_to_ticks (when_));
38 void
39 Audio_column::offset_when (Moment m)
41 when_ += m;