When switching to Composite or S-Video input on a PVR-150, the wrong audio input is also automatically selected. This occurs in the VIDIOC_S_INPUT ioctl in ivtv-ioctl.c around line 961. if (ivtv_get_input(itv, inp)->type ==
V4L2_INPUT_TYPE_TUNER) {
itv->audio_input_tv = 0; /* TV tuner */
} else {
itv->audio_input_tv = 1; /* Line in */
}
Problem is that with the recent patch that corrects the inputs as passed to the wm8775 (ref: Jean-Francois Thibert 5/17), the Line In input is now 2 for the PVR-150. Of course, we can just throw code here to set audio_input_tv to 2 if using a PVR150 but it seems kinda awkward.
In addition to this, audio_input_radio is set to 2 for all cards (in ivtv-driver.c), but the radio input for the PVR150 is now 4.
Sooooo I don't know if both places should be updated to set the proper values for audio inputs for the PVR-150, or should the set_audio_input function should "reinterpret" the input number. Until this is fixed, we'll probably see a lot of people complaining that when they switch to SVideo/Composite that their sound is all F-ed up.
On a side note, audio on the 0.3.4w works great for me even switching inputs and changing channels (retail PVR-150 nonMCE tuner 50).
------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
