1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

AudioIO.cpp does not depend on ProjectAudioIO.h and GetActiveProject

This commit is contained in:
Paul Licameli
2019-05-30 15:56:44 -04:00
parent e5cf2165d1
commit 850628275b
5 changed files with 28 additions and 23 deletions

View File

@@ -67,7 +67,6 @@
#include "../ImageManipulation.h"
#include "../prefs/GUISettings.h"
#include "../Project.h"
#include "../ProjectSettings.h"
#include "../Prefs.h"
#include "../ShuttleGui.h"
@@ -1872,7 +1871,7 @@ void MeterPanel::StartMonitoring()
if (start && !gAudioIO->IsBusy()){
AudacityProject *p = GetActiveProject();
if (p){
gAudioIO->StartMonitoring( ProjectSettings::Get( *p ).GetRate());
gAudioIO->StartMonitoring( DefaultPlayOptions( *p ) );
}
mLayoutValid = false;