Favoring Dialog persistence only.

Favoring Dialog persistence only.
This commit is contained in:
Extremesecrecy
2025-07-27 16:30:53 -07:00
parent 9353503833
commit 71a6d40c75
2 changed files with 2 additions and 3 deletions
@@ -406,7 +406,7 @@ const JackServerSettingsDialog = withStyles(
const s = (settings ?? this.state.jackServerSettings).clone();
s.valid = true;
// Fire and forget. Errors will be handled by PiPedalModel's internal error handling.
this.model.applyJackServerSettings(s);
this.model.setJackServerSettings(s);
}
/**
@@ -435,7 +435,7 @@ const JackServerSettingsDialog = withStyles(
const dummy = new JackServerSettings();
dummy.useDummyAudioDevice();
// Fire and forget.
this.model.applyJackServerSettings(dummy);
this.model.setJackServerSettings(dummy);
}
applyAlsaDevices(jackServerSettings: JackServerSettings, alsaDevices?: AlsaDeviceInfo[]) {
-1
View File
@@ -708,7 +708,6 @@ const SettingsDialog = withStyles(
// Apply immediately so the audio driver is
// restarted with the chosen devices before
// saving the settings.
this.model.applyJackServerSettings(jackServerSettings);
this.model.setJackServerSettings(jackServerSettings);
}}
/>