mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-16 07:47:58 +01:00
Separate an abstract base class from MeterPanel...
... to break its cycle with AudioIO
This commit is contained in:
@@ -893,7 +893,7 @@ void ControlToolBar::StopPlaying(bool stopStream /* = true*/)
|
||||
// also clean the MeterQueues
|
||||
if( project ) {
|
||||
auto &projectAudioIO = ProjectAudioIO::Get( *project );
|
||||
MeterPanel *meter = projectAudioIO.GetPlaybackMeter();
|
||||
auto meter = projectAudioIO.GetPlaybackMeter();
|
||||
if( meter ) {
|
||||
meter->Clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user