lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A quick Performer_group query


From: Ralph Little
Subject: A quick Performer_group query
Date: Tue, 09 Oct 2007 00:06:59 -0700
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

Hi,
More strangeness.

In Performer_group::do_announces(), there is this:
==================================
 while (1)
   {
     performer_each (get_simple_trans_list (),
             &Performer::create_audio_elements);

     if (!announce_infos_.size ())
   break;

     acknowledge_audio_elements ();
     announce_infos_.clear ();
   }

=============================

I think this resolves ultimately down to:

performer_each (get_simple_trans_list (), &Performer::create_audio_elements);
     acknowledge_audio_elements ();
     announce_infos_.clear ();
performer_each (get_simple_trans_list (), &Performer::create_audio_elements);

...unless one of the (as it happens non-existent) calls to create_audio_elements() empties the announce_infos_ vector.

Is my understanding correct and is this what was intended?

Regards,
Ralph




reply via email to

[Prev in Thread] Current Thread [Next in Thread]