1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 17:49:45 +02:00

Small change of format for GetInfo Labels

to make parsing a bit easier in LISP
This commit is contained in:
Steve Daulton 2018-10-18 22:52:41 +01:00
parent 9ad88e091c
commit f09bfbc217

View File

@ -354,6 +354,7 @@ bool GetInfoCommand::SendLabels(const CommandContext &context)
context.EndStruct();
}
#else
context.StartArray();
context.AddItem( (double)i ); // Track number.
context.StartArray();
for (int nn = 0; nn< (int)labelTrack->mLabels.size(); nn++) {
@ -365,6 +366,7 @@ bool GetInfoCommand::SendLabels(const CommandContext &context)
context.EndArray();
}
context.EndArray();
context.EndArray();
#endif
} );
// Per track numbering counts all tracks