]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
audiod: always dump the audio status
authorAndre <maan@p133.(none)>
Mon, 3 Jul 2006 00:30:12 +0000 (02:30 +0200)
committerAndre <maan@p133.(none)>
Mon, 3 Jul 2006 00:30:12 +0000 (02:30 +0200)
audiod.c

index ef83020186addb8f1825ececf7821413d253b8d5..c88facc798506c7ec567be774044780b872a500d 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -661,7 +661,6 @@ static void audiod_post_select(__a_unused struct sched *s,
 {
        int i;
 
 {
        int i;
 
-       /* save away the current time for other users */
        t->ret = 1;
        FOR_EACH_SLOT(i)
                try_to_close_slot(i);
        t->ret = 1;
        FOR_EACH_SLOT(i)
                try_to_close_slot(i);
@@ -956,8 +955,7 @@ static void command_post_select(struct sched *s, struct task *t)
        struct command_task *ct = t->private_data;
 
        t->ret = 1; /* always successful */
        struct command_task *ct = t->private_data;
 
        t->ret = 1; /* always successful */
-       if (audiod_status != AUDIOD_OFF)
-               audiod_status_dump();
+       audiod_status_dump();
        if (!FD_ISSET(ct->fd, &s->rfds))
                return;
        ret = handle_connect(ct->fd);
        if (!FD_ISSET(ct->fd, &s->rfds))
                return;
        ret = handle_connect(ct->fd);