Re: [V4L] bttv msp34xx stereo detection

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



"Rene H. Larsen" wrote:
> 
> It seems that bttv 0.7.44/0.7.45 has a few problems regarding stereo
> detection on msp34xx.  This is what I get when I tune into a channel
> that is transmitting in NICAM stereo:
> 
> ,----
> | msp34xx: setvolume: 0:0 0x00 0x00
> | tuner: tv freq set to 479.25
> | msp3410: setting mode: autodetect start (0x0001)
> | msp3410: detection still in progress
> | msp3410: current mode: 5.5/5.85  B/G NICAM FM (0x0008)
> | msp34xx: setbass: 32768 0x00
> | msp34xx: settreble: 32768 0x00
> | msp34xx: setvolume: 65535:65535 0x73 0x00
> | msp34xx: stereo detect register: 0
> `----
>
>
> The actual sound *is* in stereo, so this is mostly a cosmetic problem
> (xawtv reports mono audio).

The stereo detect register doesn't make any sense in NICAM mode. I think
the msp3400 driver doesn't set the msp->mode correctly in most cases if
using the simple programming mode, but msp->mode is used by the
autodetect_stereo procedure. You can try loading the msp3400 module with
simple=0 (or you can fix it, just put in the missing cases in the
switch(val) in the msp3410d_thread procedure, and it *might* work).

> For a stereo transmission that isn't NICAM encoded I get:
> 
> ,----
> | msp34xx: setvolume: 0:0 0x00 0x00
> | tuner: tv freq set to 607.75
> | msp3410: setting mode: autodetect start (0x0001)
> | msp3410: detection still in progress
> | msp3410: detection still in progress
> | msp3410: current mode: 5.5/5.74  B/G Dual FM-Stereo (0x0003)
> | msp34xx: setbass: 32768 0x00
> | msp34xx: settreble: 32768 0x00
> | msp34xx: setvolume: 65535:65535 0x73 0x00
> | msp34xx: stereo detect register: 0
> | msp34xx: stereo detect register: 0
> |   + a lot more of these...
> `----
This one looks strange. Are you really getting stereo sound here,
because in FM-Stereo mode the stereo detect register should return
useful values, I think.

Regards,
Roland Scheidegger





[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