mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Audio: Add sink selection to configuration files
This commit is contained in:
		
							parent
							
								
									8b94422e3e
								
							
						
					
					
						commit
						4e971f44a2
					
				
					 10 changed files with 79 additions and 4 deletions
				
			
		|  | @ -4,6 +4,8 @@ | |||
| 
 | ||||
| #include "settings.h" | ||||
| 
 | ||||
| #include "audio_core/audio_core.h" | ||||
| 
 | ||||
| #include "core/gdbstub/gdbstub.h" | ||||
| 
 | ||||
| #include "video_core/video_core.h" | ||||
|  | @ -20,6 +22,9 @@ void Apply() { | |||
|     VideoCore::g_hw_renderer_enabled = values.use_hw_renderer; | ||||
|     VideoCore::g_shader_jit_enabled = values.use_shader_jit; | ||||
|     VideoCore::g_scaled_resolution_enabled = values.use_scaled_resolution; | ||||
| 
 | ||||
|     AudioCore::SelectSink(values.sink_id); | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| } // namespace
 | ||||
|  |  | |||
|  | @ -63,6 +63,9 @@ struct Values { | |||
| 
 | ||||
|     std::string log_filter; | ||||
| 
 | ||||
|     // Audio
 | ||||
|     std::string sink_id; | ||||
| 
 | ||||
|     // Debugging
 | ||||
|     bool use_gdbstub; | ||||
|     u16 gdbstub_port; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue