* python/lilylib.py (setup_temp): temporary directories are mode 700.
[lilypond.git] / lily / performer.cc
blob6a949311a1255046eb20922743047d2d4c199c6e
1 /*
2 performer.cc -- implement Performer
4 source file of the GNU LilyPond music typesetter
6 (c) 1996--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 Jan Nieuwenhuizen <janneke@gnu.org>
8 */
11 #include "performer-group-performer.hh"
12 #include "warn.hh"
14 void
15 Performer::play_element (Audio_element* p)
17 get_daddy_perf ()->play_element (p);
20 int
21 Performer::get_tempo () const
23 return get_daddy_perf ()->get_tempo ();
26 Performer_group_performer*
27 Performer::get_daddy_perf () const
29 return (daddy_trans_)
30 ?dynamic_cast<Performer_group_performer *> (daddy_trans_)
31 : 0;
34 void
35 Performer::acknowledge_audio_element (Audio_element_info)
39 void
40 Performer::create_audio_elements ()
45 void
46 Performer::announce_element (Audio_element_info i)
48 if (!i.origin_trans_)
49 i.origin_trans_= this;
50 get_daddy_perf ()->announce_element (i);