2 performer.cc -- implement Performer
4 source file of the GNU LilyPond music typesetter
6 (c) 1996--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 Jan Nieuwenhuizen <janneke@gnu.org>
11 #include "performer-group-performer.hh"
15 Performer::play_element (Audio_element
* p
)
17 daddy_perf_l ()->play_element (p
);
21 Performer::get_tempo_i () const
23 return daddy_perf_l ()->get_tempo_i ();
26 Performer_group_performer
*
27 Performer::daddy_perf_l () const
29 return (daddy_trans_l_
)
30 ?dynamic_cast<Performer_group_performer
*> (daddy_trans_l_
)
35 Performer::acknowledge_audio_element (Audio_element_info
)
40 Performer::create_audio_elements ()
46 Performer::announce_element (Audio_element_info i
)
48 if (!i
.origin_trans_l_
)
49 i
.origin_trans_l_
= this;
50 daddy_perf_l ()->announce_element (i
);