mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 05:01:57 +01:00
Fix a compilation warning, make some member functions const
This commit is contained in:
committed by
Paul Licameli
parent
6810095509
commit
1992b0c7e3
@@ -218,7 +218,7 @@ void NoteTrack::WarpAndTransposeNotes(double t0, double t1,
|
||||
Alg_iterator iter(mSeq, false);
|
||||
iter.begin();
|
||||
Alg_event_ptr event;
|
||||
while ((event = iter.next()) && event->time < t1) {
|
||||
while (0 != (event = iter.next()) && event->time < t1) {
|
||||
if (event->is_note() && event->time >= t0 &&
|
||||
// Allegro data structure does not restrict channels to 16.
|
||||
// Since there is not way to select more than 16 channels,
|
||||
|
||||
Reference in New Issue
Block a user