aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/output_thread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/output_thread.c b/src/output_thread.c
index c5e4b4fa2..a55260785 100644
--- a/src/output_thread.c
+++ b/src/output_thread.c
@@ -83,6 +83,10 @@ static void ao_play(struct audio_output *ao)
ao_plugin_cancel(ao->plugin, ao->data);
ao_close(ao);
+
+ /* don't automatically reopen this device for
+ 10 seconds */
+ ao->fail_timer = g_timer_new();
break;
}