summaryrefslogtreecommitdiffstats
path: root/audio/out/ao.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-09 16:22:06 +0200
committerwm4 <wm4@nowhere>2016-08-09 17:09:29 +0200
commiteab92cec60d92e0de2ea53d4d01052f4d7acc5d5 (patch)
treecb6202b24b7407283dd5f28e650d3fc869a7e33d /audio/out/ao.h
parent3759a3f40bed92b161342532445718906f903234 (diff)
downloadmpv-eab92cec60d92e0de2ea53d4d01052f4d7acc5d5.tar.bz2
mpv-eab92cec60d92e0de2ea53d4d01052f4d7acc5d5.tar.xz
player: add --audio-stream-silence
Completely insane that this has to be done. Crap for compensating HDMI crap.
Diffstat (limited to 'audio/out/ao.h')
-rw-r--r--audio/out/ao.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/out/ao.h b/audio/out/ao.h
index 3c16cef0e5..3b187e7355 100644
--- a/audio/out/ao.h
+++ b/audio/out/ao.h
@@ -56,6 +56,8 @@ enum {
// Only accept multichannel configurations that are guaranteed to work
// (i.e. not sending arbitrary layouts over HDMI).
AO_INIT_SAFE_MULTICHANNEL_ONLY = 1 << 1,
+ // Stream silence as long as no audio is playing.
+ AO_INIT_STREAM_SILENCE = 1 << 2,
};
typedef struct ao_control_vol {