mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-05 19:21:59 +01:00
Do without some friend declarations in LabelTrack...
... and leave "updated" alone, it's only for use in interactive dragging
This commit is contained in:
@@ -610,8 +610,7 @@ bool GetInfoCommand::SendLabels(const CommandContext &context)
|
||||
context.StartArray();
|
||||
context.AddItem( (double)i ); // Track number.
|
||||
context.StartArray();
|
||||
for (int nn = 0; nn< (int)labelTrack->mLabels.size(); nn++) {
|
||||
const auto &label = labelTrack->mLabels[nn];
|
||||
for ( const auto &label : labelTrack->GetLabels() ) {
|
||||
context.StartArray();
|
||||
context.AddItem( label.getT0() ); // start
|
||||
context.AddItem( label.getT1() ); // end
|
||||
|
||||
Reference in New Issue
Block a user