Favoring Dialog persistence only.
Favoring Dialog persistence only.
This commit is contained in:
@@ -406,7 +406,7 @@ const JackServerSettingsDialog = withStyles(
|
|||||||
const s = (settings ?? this.state.jackServerSettings).clone();
|
const s = (settings ?? this.state.jackServerSettings).clone();
|
||||||
s.valid = true;
|
s.valid = true;
|
||||||
// Fire and forget. Errors will be handled by PiPedalModel's internal error handling.
|
// 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();
|
const dummy = new JackServerSettings();
|
||||||
dummy.useDummyAudioDevice();
|
dummy.useDummyAudioDevice();
|
||||||
// Fire and forget.
|
// Fire and forget.
|
||||||
this.model.applyJackServerSettings(dummy);
|
this.model.setJackServerSettings(dummy);
|
||||||
}
|
}
|
||||||
|
|
||||||
applyAlsaDevices(jackServerSettings: JackServerSettings, alsaDevices?: AlsaDeviceInfo[]) {
|
applyAlsaDevices(jackServerSettings: JackServerSettings, alsaDevices?: AlsaDeviceInfo[]) {
|
||||||
|
|||||||
@@ -708,7 +708,6 @@ const SettingsDialog = withStyles(
|
|||||||
// Apply immediately so the audio driver is
|
// Apply immediately so the audio driver is
|
||||||
// restarted with the chosen devices before
|
// restarted with the chosen devices before
|
||||||
// saving the settings.
|
// saving the settings.
|
||||||
this.model.applyJackServerSettings(jackServerSettings);
|
|
||||||
this.model.setJackServerSettings(jackServerSettings);
|
this.model.setJackServerSettings(jackServerSettings);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user