1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-27 15:50:10 +01:00

Display Audio Position when stopped

When play is stopped, display the start of play region as the 'Audio Position' in Selection Toolbar.
This commit is contained in:
Steve Daulton
2016-05-11 17:46:39 +01:00
parent 0cca33ad58
commit 2cd3a5d751

View File

@@ -4708,7 +4708,8 @@ void AudacityProject::TP_DisplaySelection()
if (gAudioIO->IsBusy())
audioTime = gAudioIO->GetStreamTime();
else {
audioTime = 0;
double playEnd;
GetPlayRegion(&audioTime, &playEnd);
}
GetSelectionBar()->SetTimes(mViewInfo.selectedRegion.t0(),