Re: Re: Composite input audio bug when mute and unmuting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 26 Sep 2001, Stephen Davies wrote:

> > 1) Select composite input - video and audio switches correctly
> > 2) mute and unmute - you will incorrectly hear sound from the tuner again
> > (even though the composite video is still displayed).


Hi Gerd,

Do you have a view about this problem?  In my code I disabled this code:

>         case AUDC_SET_INPUT:
>                 /* scart switching
>                      - IN1 is often used for external input
>                      - Hauppauge uses IN2 for the radio */
>                 dprintk(KERN_DEBUG "msp34xx: AUDC_SET_INPUT(%d)\n",*sarg);
>                 msp->scart = 0;
>                 switch (*sarg) {
>                 case AUDIO_RADIO:
>                         msp3400c_set_scart(client,SCART_IN2,0);
> 			msp3400c_write(client,I2C_MSP3400C_DFP,0x000d,0x1900);
>                         msp3400c_setstereo(client,msp->stereo);
>                         break;
>                 case AUDIO_EXTERN:
>                         msp->scart = 1;
>                         msp3400c_set_scart(client,SCART_IN1,0);
> 			msp3400c_write(client,I2C_MSP3400C_DFP,0x000d,0x1900);
>                         msp3400c_setstereo(client,msp->stereo);
>                         break;
>                 case AUDIO_TUNER:
>                         msp3400c_setstereo(client,msp->stereo);
>                         break;
>                 default:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
>                         if (*sarg & AUDIO_MUTE)
>                                 msp3400c_set_scart(client,SCART_MUTE,0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>                         break;
>                 }

And bttv will not stay on the composite input through attempts to mute and
unmute.  Of course, muting no longer does anything - but that's OK for me.

Do you agree its a bttv v4l2 bug?  (does affect xawtv too when it uses the
v4l2 interface.

Thanks,
Steve






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux