diff --git a/vite/src/pipedal/JackServerSettingsDialog.tsx b/vite/src/pipedal/JackServerSettingsDialog.tsx index 3735ab3..bb013e5 100644 --- a/vite/src/pipedal/JackServerSettingsDialog.tsx +++ b/vite/src/pipedal/JackServerSettingsDialog.tsx @@ -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[]) { diff --git a/vite/src/pipedal/SettingsDialog.tsx b/vite/src/pipedal/SettingsDialog.tsx index 2a3a1ba..b2624a9 100644 --- a/vite/src/pipedal/SettingsDialog.tsx +++ b/vite/src/pipedal/SettingsDialog.tsx @@ -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); }} />