projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0ad002
)
audiod: Invalidate the current audio format when closing the receiver.
author
Andre Noll
<maan@systemlinux.org>
Sun, 20 Dec 2009 18:49:46 +0000
(19:49 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 20 Dec 2009 18:49:46 +0000
(19:49 +0100)
This avoids restarting the same receiver immediately as it causes audiod to
wait until the audio format status item is received again.
audiod.c
patch
|
blob
|
history
diff --git
a/audiod.c
b/audiod.c
index
1e8591f
..
8fbd0a0
100644
(file)
--- a/
audiod.c
+++ b/
audiod.c
@@
-311,6
+311,7
@@
static void close_receiver(int slot_num)
a->receiver->close(s->receiver_node);
free(s->receiver_node);
s->receiver_node = NULL;
+ stat_task->current_audio_format_num = -1;
}
static void kill_all_decoders(int error)