From 04472352aedb88884fa4dc9be5ab37ef3980e87d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 14 Feb 2015 15:13:58 +0100 Subject: player: fix audio-device-list updates The way the AO wakes up the playloop has nothing to do with events; instead we must query the events on the AO once the playloop was woken up. Querying the events in every playloop iteration is thus the correct way to do this. --- player/command.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'player/command.h') diff --git a/player/command.h b/player/command.h index 945d686786..2e5bdfe546 100644 --- a/player/command.h +++ b/player/command.h @@ -36,6 +36,8 @@ int mp_property_do(const char* name, int action, void* val, void mp_notify(struct MPContext *mpctx, int event, void *arg); void mp_notify_property(struct MPContext *mpctx, const char *property); +void handle_command_updates(struct MPContext *mpctx); + int mp_get_property_id(const char *name); uint64_t mp_get_property_event_mask(const char *name); -- cgit v1.2.3