diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2008-04-08 19:49:34 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2008-04-08 19:49:34 +0000 |
commit | 0525a5d213bdf3bdb476888c2af8e2bffd1f48d8 (patch) | |
tree | 8842ba841e1ccfabf5df3d363ae3fffe6256d564 /sys/oss/gstosssrc.c | |
parent | 72f0385606f324d7182e491175cf5418980b5208 (diff) |
sys/oss/: More logging when probing (see #518474), some comments in _reset().
Original commit message from CVS:
* sys/oss/gstosshelper.c: (gst_oss_helper_rate_check_rate):
* sys/oss/gstosssink.c: (gst_oss_sink_reset):
* sys/oss/gstosssrc.c: (gst_oss_src_reset):
More logging when probing (see #518474), some comments in _reset().
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 */ } |