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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user