Audio: Add sink selection to configuration files

This commit is contained in:
MerryMage 2016-04-27 13:53:23 +01:00
parent 8b94422e3e
commit 4e971f44a2
10 changed files with 79 additions and 4 deletions

View file

@ -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);

View file

@ -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