summaryrefslogtreecommitdiffstats
path: root/input
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 /input
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 'input')
-rw-r--r--input/cmd_list.c1
-rw-r--r--input/cmd_list.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index fe014c4983..e281c84f9e 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -156,6 +156,7 @@ const struct mp_cmd_def mp_cmds[] = {
{ MP_CMD_DISCNAV, "discnav", { ARG_STRING } },
{ MP_CMD_AF, "af", { ARG_STRING, ARG_STRING } },
+ { MP_CMD_AO_RELOAD, "ao_reload", },
{ MP_CMD_VF, "vf", { ARG_STRING, ARG_STRING } },
diff --git a/input/cmd_list.h b/input/cmd_list.h
index 7d395cb329..c99ac58be9 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -80,6 +80,7 @@ enum mp_command_type {
/// Audio Filter commands
MP_CMD_AF,
+ MP_CMD_AO_RELOAD,
/// Video filter commands
MP_CMD_VF,