2005-08-21 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/midi-item.cc (name): new method.
+
* lily/staff-performer.cc (acknowledge_audio_element): use
signature of baseclass.
void
Engraver_group::do_announces ()
{
- for (SCM s = context ()->children_contexts ();
- scm_is_pair (s); s = scm_cdr (s))
+ do
{
- Context *c = unsmob_context (scm_car (s));
- Engraver_group *group
- = dynamic_cast<Engraver_group *> (c->implementation ());
- if (group)
- group->do_announces ();
- }
+ /*
+ DOCME: why is this inside the loop?
+ */
+ for (SCM s = context ()->children_contexts ();
+ scm_is_pair (s); s = scm_cdr (s))
+ {
+ Context *c = unsmob_context (scm_car (s));
+ Engraver_group *group
+ = dynamic_cast<Engraver_group *> (c->implementation ());
+ if (group)
+ group->do_announces ();
+ }
- do
- {
- while (1)
+
+ while (1)
{
precomputed_translator_foreach (PROCESS_ACKNOWLEDGED);
if (announce_infos_.size () == 0)
#include "midi-stream.hh"
#include "duration.hh"
#include "program-option.hh"
+
#include "killing-cons.tcc"
#define PITCH_WHEEL_TOP 0x3FFF
}
return str;
}
+
+
+char const *
+Midi_item::name () const
+{
+ return classname (this);
+}