Merge pull request #3909 from MerryMage/rm-SetDevice
sink_details: Tidy-up device listing code
This commit is contained in:
commit
47d283a1e4
13 changed files with 87 additions and 88 deletions
|
@ -166,7 +166,7 @@ System::ResultStatus System::Init(EmuWindow* emu_window, u32 system_mode) {
|
|||
}
|
||||
|
||||
dsp_core = std::make_unique<AudioCore::DspHle>();
|
||||
dsp_core->SetSink(Settings::values.sink_id);
|
||||
dsp_core->SetSink(Settings::values.sink_id, Settings::values.audio_device_id);
|
||||
dsp_core->EnableStretching(Settings::values.enable_audio_stretching);
|
||||
|
||||
telemetry_session = std::make_unique<Core::TelemetrySession>();
|
||||
|
|
|
@ -32,7 +32,7 @@ void Apply() {
|
|||
}
|
||||
|
||||
if (Core::System::GetInstance().IsPoweredOn()) {
|
||||
Core::DSP().SetSink(values.sink_id);
|
||||
Core::DSP().SetSink(values.sink_id, values.audio_device_id);
|
||||
Core::DSP().EnableStretching(values.enable_audio_stretching);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue