From af742bbc72fecb390c2eae0fbc90c8f548b8b3b0 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 5 Mar 1999 16:25:49 +0000 Subject: [PATCH] work around a bug in wss: AUDIO_FLUSH hangs the device. Temporary, until bug is fixed. --- audio/tracker/files/audio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/audio/tracker/files/audio.c b/audio/tracker/files/audio.c index e504929456d..1f5f1963b19 100644 --- a/audio/tracker/files/audio.c +++ b/audio/tracker/files/audio.c @@ -30,7 +30,7 @@ struct options_set *port_options=0; -ID("$Id: audio.c,v 1.2 1999/03/05 16:24:55 espie Exp $") +ID("$Id: audio.c,v 1.3 1999/03/05 16:25:49 espie Exp $") LOCAL unsigned long samples_max; LOCAL int audio; @@ -268,8 +268,10 @@ unsigned long update_frequency(void) void discard_buffer(void) { +#if 0 if (audio) ioctl(audio, AUDIO_FLUSH, 0); +#endif remove_pending_tags(); total = 0; }