From 54fbda2ba40de1d94d49cef2c46160eb7ffa195a Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Oct 2015 18:53:02 +0200 Subject: audio: add option for falling back to ao_null The manpage entry explains this. (Maybe this option could be always enabled and removed. I don't quite remember what valid use-cases there are for just disabling audio entirely, other than that this is also needed for audio decoder init failure.) --- options/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'options/options.h') diff --git a/options/options.h b/options/options.h index 2a4bb8302d..75156043b3 100644 --- a/options/options.h +++ b/options/options.h @@ -81,6 +81,7 @@ typedef struct MPOpts { struct m_obj_settings *audio_driver_list, *ao_defs; char *audio_device; char *audio_client_name; + int ao_null_fallback; int force_vo; int softvol; float mixer_init_volume; -- cgit v1.2.3