summaryrefslogtreecommitdiffstats
path: root/audio/out/ao.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-02 20:07:25 +0200
committerwm4 <wm4@nowhere>2016-09-02 21:21:47 +0200
commita85eecfe401ccaaa0b1981de71152bdc02184c66 (patch)
treee9e302e5a64438938c039fd4388f2aa68f82d1e0 /audio/out/ao.c
parenteb14b18a33973021c30124775513795b689cec27 (diff)
downloadmpv-a85eecfe401ccaaa0b1981de71152bdc02184c66.tar.bz2
mpv-a85eecfe401ccaaa0b1981de71152bdc02184c66.tar.xz
ao_alsa: change sub-options to global options
Same deal as with vo_opengl. Also edit the outdated information about multichannel output a little.
Diffstat (limited to 'audio/out/ao.c')
-rw-r--r--audio/out/ao.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c
index 189434cf0b..df2fdd5416 100644
--- a/audio/out/ao.c
+++ b/audio/out/ao.c
@@ -140,6 +140,7 @@ static struct ao *ao_alloc(bool probing, struct mpv_global *global,
*ao = (struct ao) {
.driver = desc.p,
.probing = probing,
+ .global = global,
.input_ctx = input_ctx,
.log = mp_log_new(ao, log, name),
.def_buffer = opts->audio_buffer,