From e53ca368a5448291ca2783b8061727635084618f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 23 Oct 2009 10:55:52 +0200 Subject: output_plugin: added methods enable() and disable() With these methods, an output plugin can allocate some global resources only if it is actually enabled. The method enable() is called after daemonization, which allows for more sophisticated resource allocation during that method. --- src/player_control.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/player_control.c') diff --git a/src/player_control.c b/src/player_control.c index 25a0320c5..23ae136ac 100644 --- a/src/player_control.c +++ b/src/player_control.c @@ -99,6 +99,12 @@ pc_stop(void) idle_add(IDLE_PLAYER); } +void +pc_update_audio(void) +{ + player_command(PLAYER_COMMAND_UPDATE_AUDIO); +} + void pc_kill(void) { -- cgit v1.2.3