mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	sink_details: Listing available devices should be separate from sink construction
This commit is contained in:
		
							parent
							
								
									ce5a5412ae
								
							
						
					
					
						commit
						d269beab0d
					
				
					 13 changed files with 84 additions and 70 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