]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 1bed20c03871caaaac50c21377746001891d4d61..21020d4d5dbef1d55a1601e1fc550e2d9bf91536 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)