Richard Freeman wrote: > I've just started (within the last week) having audio problems. I'm > using the ivtv drivers bundled with the kernel version 2.6.24 (gentoo > -r3). I've never had this problem before, and right now it is intermittent. >
I hate to self-reply, but I found an interesting thread from a prior ivtv version at: http://www.mythtvtalk.com/forum/viewtopic.php?t=2690&postdays=0&postorder=asc&start=70 I did a diff on the latest kernel release and this change in ivtv-streams.c looked suspicious in light of the above discussion: @@ -572,16 +563,16 @@ clear_bit(IVTV_F_I_EOS, &itv->i_flags); /* Initialize Digitizer for Capture */ - itv->video_dec_func(itv, VIDIOC_STREAMOFF, 0); - ivtv_msleep_timeout(300, 1); ivtv_vapi(itv, CX2341X_ENC_INITIALIZE_INPUT, 0); - itv->video_dec_func(itv, VIDIOC_STREAMON, 0); + + ivtv_msleep_timeout(100, 0); } /* begin_capture */ if (ivtv_vapi(itv, CX2341X_ENC_START_CAPTURE, 2, captype, subtype)) { IVTV_DEBUG_WARN( "Error starting capture!\n"); + mutex_unlock(&itv->serialize_lock); return -EINVAL; } It looks like a sleep has been decreased from 300ms to 100ms. (The code has changed quite a bit since 2006, but this appears to be the same region they're talking about in the forum.) Then again, the forum only has a 50ms delay. I am certainly not qualified to debug kernel drivers of this sort, but I'm tempted to revert this change and see if it fixes the problem. Any comments by those who know more? _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
