Commit a5c09c91 authored by Max Kellermann's avatar Max Kellermann

output: added option to disable audio outputs by default

The option "enabled" is on by default. If you specify "enabled no" in an audio_output section, then this device is disabled by default.
parent d29db011
......@@ -16,6 +16,7 @@ ver 0.15 - (200?/??/??)
- wildmidi: another decoder plugin for MIDI files (using libwildmidi)
- added configuration option to disable decoder plugins
* audio outputs:
- added option to disable audio outputs by default
- shout: enlarged buffer size to 32 kB
- null: allow disabling synchronization
- mvp: fall back to stereo
......
......@@ -91,7 +91,7 @@ audio_output_init(struct audio_output *ao, const struct config_param *param)
ao->name = name;
ao->plugin = plugin;
ao->enabled = true;
ao->enabled = config_get_block_bool(param, "enabled", true);
ao->open = false;
ao->reopen_after = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment