From: Andre Noll Date: Thu, 22 Apr 2010 21:07:49 +0000 (+0200) Subject: audiod: Dump audiod status after command execution. X-Git-Tag: v0.4.2~3 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=d54f2d11287702f99f8814961c69375c89d3dfdc;p=paraslash.git 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. --- 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)