From d5b081152aecb947215f7b8aa091ca2031c94edc Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 27 Oct 2014 11:52:42 +0100 Subject: audio: add command/function to reload audio output Anticipated use: simple solution for dealing with audio APIs which request configuration changes via events. --- input/cmd_list.c | 1 + input/cmd_list.h | 1 + 2 files changed, 2 insertions(+) (limited to 'input') 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, -- cgit v1.2.3