diff options
Diffstat (limited to 'sys/oss/gstosssrc.c')
-rw-r--r-- | sys/oss/gstosssrc.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/oss/gstosssrc.c b/sys/oss/gstosssrc.c index 417bdcf0..06e17e75 100644 --- a/sys/oss/gstosssrc.c +++ b/sys/oss/gstosssrc.c @@ -542,12 +542,7 @@ gst_oss_src_delay (GstAudioSrc * asrc) static void gst_oss_src_reset (GstAudioSrc * asrc) { - GstOssSrc *oss; - - //gint ret; - - oss = GST_OSS_SRC (asrc); - - /* deadlocks on my machine... */ - //ret = ioctl (oss->fd, SNDCTL_DSP_RESET, 0); + /* 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 */ } |