]> git.donarmstrong.com Git - lilypond.git/blob - lily/performer.cc
tremolo fixes
[lilypond.git] / lily / performer.cc
1 /*
2   performer.cc -- implement Performer
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1996--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7                Jan Nieuwenhuizen <janneke@gnu.org>
8  */
9
10
11 #include "performer-group-performer.hh"
12 #include "debug.hh"
13
14 void 
15 Performer::play_element (Audio_element* p) 
16
17   daddy_perf_l ()->play_element (p); 
18 }
19
20 int
21 Performer::get_tempo_i () const
22 {
23   return daddy_perf_l ()->get_tempo_i ();
24 }
25
26 Performer_group_performer*
27 Performer::daddy_perf_l () const
28 {
29   return (daddy_trans_l_) 
30     ?dynamic_cast<Performer_group_performer *> (daddy_trans_l_)
31     : 0;
32 }
33
34 void
35 Performer::acknowledge_audio_element (Audio_element_info)
36 {
37 }
38
39 void
40 Performer::create_audio_elements ()
41 {
42 }
43
44
45 void
46 Performer::announce_element (Audio_element_info i)
47 {
48   if (!i.origin_trans_l_)
49     i.origin_trans_l_= this;
50   daddy_perf_l ()->announce_element (i);
51 }