summaryrefslogtreecommitdiffstats
path: root/audio/out/internal.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-27 11:52:42 +0100
committerwm4 <wm4@nowhere>2014-10-27 11:52:42 +0100
commitd5b081152aecb947215f7b8aa091ca2031c94edc (patch)
treefff6d188ede259a9315489e89396e1b0d5c6b366 /audio/out/internal.h
parentac35e3b308a2469ef49b7094de8b571f054ac2f4 (diff)
downloadmpv-d5b081152aecb947215f7b8aa091ca2031c94edc.tar.bz2
mpv-d5b081152aecb947215f7b8aa091ca2031c94edc.tar.xz
audio: add command/function to reload audio output
Anticipated use: simple solution for dealing with audio APIs which request configuration changes via events.
Diffstat (limited to 'audio/out/internal.h')
-rw-r--r--audio/out/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/out/internal.h b/audio/out/internal.h
index cebc265f04..fd45a4a581 100644
--- a/audio/out/internal.h
+++ b/audio/out/internal.h
@@ -183,6 +183,8 @@ bool ao_chmap_sel_adjust(struct ao *ao, const struct mp_chmap_sel *s,
bool ao_chmap_sel_get_def(struct ao *ao, const struct mp_chmap_sel *s,
struct mp_chmap *map, int num);
+void ao_request_reload(struct ao *ao);
+
// Add a deep copy of e to the list.
// Call from ao_driver->list_devs callback only.
void ao_device_list_add(struct ao_device_list *list, struct ao *ao,