projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3af6b4
)
audiod: Dump audiod status after command execution.
author
Andre Noll
<maan@systemlinux.org>
Thu, 22 Apr 2010 21:07:49 +0000
(23:07 +0200)
committer
Andre 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
patch
|
blob
|
history
diff --git
a/audiod.c
b/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)