mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-09 08:53:23 +02:00
Fix GetInfo: Type=Labels counts channels rather than tracks.
This commit is contained in:
parent
481370b7b3
commit
85c1eb4720
@ -400,11 +400,11 @@ bool GetInfoCommand::SendLabels(const CommandContext &context)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Theoretically you could have a stereo LabelTrack, and
|
|
||||||
// this way you'd skip the second version of it.
|
|
||||||
// Skip second tracks of stereo...
|
// Skip second tracks of stereo...
|
||||||
//if( t->GetLinked() )
|
// This has no effect on label tracks themselves, which are never stereo
|
||||||
// t= iter.Next();
|
// but is needed for per track rather than per channel numbering.
|
||||||
|
if( t->GetLinked() )
|
||||||
|
t= iter.Next();
|
||||||
if( t )
|
if( t )
|
||||||
t=iter.Next();
|
t=iter.Next();
|
||||||
i++;
|
i++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user