diff --git a/Source/Dialogs/AudioSettingsPanel.h b/Source/Dialogs/AudioSettingsPanel.h index 7fd81092e..f1a7e37a9 100644 --- a/Source/Dialogs/AudioSettingsPanel.h +++ b/Source/Dialogs/AudioSettingsPanel.h @@ -162,9 +162,8 @@ class StandaloneAudioSettingsPanel final : public SettingsDialogPanel , public Value::Listener { public: - explicit StandaloneAudioSettingsPanel(PluginProcessor* processor) - : pd(processor) - , deviceManager(*ProjectInfo::getDeviceManager()) + explicit StandaloneAudioSettingsPanel() + : deviceManager(*ProjectInfo::getDeviceManager()) , inputLevelMeter(deviceManager.getInputLevelGetter()) , outputLevelMeter(deviceManager.getOutputLevelGetter()) { @@ -428,7 +427,6 @@ class StandaloneAudioSettingsPanel final : public SettingsDialogPanel } } - PluginProcessor* pd; AudioDeviceManager& deviceManager; DeviceManagerLevelMeter inputLevelMeter; DeviceManagerLevelMeter outputLevelMeter; diff --git a/Source/Dialogs/SettingsDialog.h b/Source/Dialogs/SettingsDialog.h index 78788529e..1588f91f4 100644 --- a/Source/Dialogs/SettingsDialog.h +++ b/Source/Dialogs/SettingsDialog.h @@ -61,7 +61,7 @@ class SettingsDialog final : public Component { panels.clear(); if (ProjectInfo::isStandalone) { - panels.add(new StandaloneAudioSettingsPanel(processor)); + panels.add(new StandaloneAudioSettingsPanel()); } else { panels.add(new DAWAudioSettingsPanel(processor)); }