msp3400.c

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



I have an "interesting" problem with msp3400.c

I'm working on a Hauppauge WinTV PVR-250 which uses an MSP3435G as its audio
processor.  I have been able to attach the 250's i2c bus via i2c-algo-bit and
load tuner.o and msp3400.o which (more or less) recognize their respective
periphials.


Problem #1a.  Apparently the 250's audio path is somewhat different than
other Hauppauge cards: The 250 uses ScartOut1 instead of the loudspeaker
output.  It needs to feed the audio back to the compression engine so that it
can be embedded into the MPEG stream.

Msp3400.c assumes that the output is via the loudspeaker (or headphones).  To
set up ScartOut1 fot the 250's routing the ACB needs to be populated with 
0x0c00 whenever AUDC_SET_INPUT(AUDIO_TUNER) is received.

The msp3400c_set_scart(client,SCART_IN1_DA,1) call will do it, but nothing
triggers that.


Problem #1b.  The ScartOut1 volume can only be on or off!  While a Prescale
value of 0x1900 (0db) and an "on" volume of 0x4000 (-50db?) is workable, if
adjustments are necessary, this can make life difficult.


Are there other cards out there that use the msp34xx series that could benefit
from a flexible method of mapping the inputs and outputs to the audiochip.h
enumeration?

Thanks,
John





[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