From d54f2d11287702f99f8814961c69375c89d3dfdc Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 22 Apr 2010 23:07:49 +0200 Subject: [PATCH] audiod: Dump audiod status after command execution. Commands like on/off/cycle change the audiod status. Without this change, the status is only updated after the next select timeout. --- audiod.c | 1 + 1 file changed, 1 insertion(+) diff --git a/audiod.c b/audiod.c index 1bed20c0..21020d4d 100644 --- a/audiod.c +++ b/audiod.c @@ -1028,6 +1028,7 @@ static void command_post_select(struct sched *s, struct task *t) ret = handle_connect(ct->fd); if (ret < 0) PARA_ERROR_LOG("%s\n", para_strerror(-ret)); + audiod_status_dump(); } static void init_command_task(struct command_task *ct) -- 2.39.2