mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	Audio: Add sink selection to configuration files
This commit is contained in:
		@@ -71,6 +71,9 @@ void Config::ReadValues() {
 | 
			
		||||
    Settings::values.bg_green = (float)sdl2_config->GetReal("Renderer", "bg_green", 1.0);
 | 
			
		||||
    Settings::values.bg_blue  = (float)sdl2_config->GetReal("Renderer", "bg_blue",  1.0);
 | 
			
		||||
 | 
			
		||||
    // Audio
 | 
			
		||||
    Settings::values.sink_id = sdl2_config->Get("Audio", "output_engine", "auto");
 | 
			
		||||
 | 
			
		||||
    // Data Storage
 | 
			
		||||
    Settings::values.use_virtual_sd = sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -56,6 +56,11 @@ bg_red =
 | 
			
		||||
bg_blue =
 | 
			
		||||
bg_green =
 | 
			
		||||
 | 
			
		||||
[Audio]
 | 
			
		||||
# Which audio output engine to use.
 | 
			
		||||
# auto (default): Auto-select, null: No audio output
 | 
			
		||||
output_engine =
 | 
			
		||||
 | 
			
		||||
[Data Storage]
 | 
			
		||||
# Whether to create a virtual SD card.
 | 
			
		||||
# 1 (default): Yes, 0: No
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user