1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-07 15:49:42 +02:00

Both input meters should track monitoring/capture status

So you can switch between the combined and independent 
recording meters at will.
This commit is contained in:
lllucius 2014-12-28 06:15:09 +00:00
parent 6a3ef5565c
commit a3786dd78a

View File

@ -1699,12 +1699,6 @@ void Meter::OnAudioIOStatus(wxCommandEvent &evt)
{
evt.Skip();
// Don't do anything if we're not the active input meter
if (!IsShownOnScreen())
{
return;
}
AudacityProject *p = (AudacityProject *) evt.GetEventObject();
mActive = false;
@ -1729,7 +1723,11 @@ void Meter::OnAudioIOStatus(wxCommandEvent &evt)
mMonitoring = false;
}
Refresh(false);
// Only refresh is we're the active meter
if (IsShownOnScreen())
{
Refresh(false);
}
}
//