audiod: Dump audiod status after command execution.
authorAndre Noll <maan@systemlinux.org>
Thu, 22 Apr 2010 21:07:49 +0000 (23:07 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 22 Apr 2010 21:07:49 +0000 (23:07 +0200)
Commands like on/off/cycle change the audiod status. Without this change,
the status is only updated after the next select timeout.

audiod.c

index 1bed20c..21020d4 100644 (file)
--- 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)