mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Merge pull request #1729 from MerryMage/null-sink
Audio Config: Implement null sink and implement sink configuration
This commit is contained in:
		
						commit
						c1f0044a4b
					
				
					 13 changed files with 155 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