summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstosssink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/oss/gstosssink.c')
-rw-r--r--sys/oss/gstosssink.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c
index 17f3964a..23e177b4 100644
--- a/sys/oss/gstosssink.c
+++ b/sys/oss/gstosssink.c
@@ -574,13 +574,7 @@ gst_oss_sink_delay (GstAudioSink * asink)
static void
gst_oss_sink_reset (GstAudioSink * asink)
{
-#if 0
- GstOssSink *oss;
- gint ret;
-
- oss = GST_OSSSINK (asink);
-
- /* deadlocks on my machine... */
- ret = ioctl (oss->fd, SNDCTL_DSP_RESET, 0);
-#endif
+ /* There's nothing we can do here really: OSS can't handle access to the
+ * same device/fd from multiple threads and might deadlock or blow up in
+ * other ways if we try an ioctl SNDCTL_DSP_RESET or similar */
}