mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	configure_audio: User-configuratble option to enable/disable audio stretching
This commit is contained in:
		@@ -78,6 +78,7 @@ void Config::ReadValues() {
 | 
			
		||||
 | 
			
		||||
    // Audio
 | 
			
		||||
    Settings::values.sink_id = sdl2_config->Get("Audio", "output_engine", "auto");
 | 
			
		||||
    Settings::values.enable_audio_stretching = sdl2_config->GetBoolean("Audio", "enable_audio_stretching", true);
 | 
			
		||||
 | 
			
		||||
    // Data Storage
 | 
			
		||||
    Settings::values.use_virtual_sd = sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true);
 | 
			
		||||
 
 | 
			
		||||
@@ -66,6 +66,12 @@ bg_green =
 | 
			
		||||
# auto (default): Auto-select, null: No audio output, sdl2: SDL2 (if available)
 | 
			
		||||
output_engine =
 | 
			
		||||
 | 
			
		||||
# Whether or not to enable the audio-stretching post-processing effect.
 | 
			
		||||
# This effect adjusts audio speed to match emulation speed and helps prevent audio stutter,
 | 
			
		||||
# at the cost of increasing audio latency.
 | 
			
		||||
# 0: No, 1 (default): Yes
 | 
			
		||||
enable_audio_stretching =
 | 
			
		||||
 | 
			
		||||
[Data Storage]
 | 
			
		||||
# Whether to create a virtual SD card.
 | 
			
		||||
# 1 (default): Yes, 0: No
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user