From 4ea3743c93e581954e9b1cf8ec7a10c38b35cfee Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 20 Dec 2009 19:49:46 +0100 Subject: [PATCH] audiod: Invalidate the current audio format when closing the receiver. This avoids restarting the same receiver immediately as it causes audiod to wait until the audio format status item is received again. --- audiod.c | 1 + 1 file changed, 1 insertion(+) diff --git a/audiod.c b/audiod.c index 1e8591f0..8fbd0a00 100644 --- 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) -- 2.39.5