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.) --- audio/out/ao.h | 1 + 1 file changed, 1 insertion(+) (limited to 'audio/out/ao.h') diff --git a/audio/out/ao.h b/audio/out/ao.h index baf10ace19..e8e64e33eb 100644 --- a/audio/out/ao.h +++ b/audio/out/ao.h @@ -72,6 +72,7 @@ struct encode_lavc_context; struct mp_audio; struct ao *ao_init_best(struct mpv_global *global, + bool ao_null_fallback, struct input_ctx *input_ctx, struct encode_lavc_context *encode_lavc_ctx, int samplerate, int format, struct mp_chmap channels); -- cgit v1.2.3