On Sun, 24 Feb 2002, Gerd Knorr wrote:

> The three important ones are handled by saa7134_tvaudio_setinput().

I managed to figure that out by looking at the code :)

>
> >   done:
> > +   saa7134_tvaudio_setinput(dev,0);                /* Deselect Audio Source */
>
> This is wrong.  0 isn't a valid argument here, LINE1, LINE2 and TV are.
> LINE1 is a sensible choice I'd say as this is the power-on default of
> the card.

Ok. Well, as I don't have LINE1 working I can't say for sure that it would
actually mute everything, I needed a default value that would mute the
audio path, and 0 seemed reasonable (though not explicitly defined, but
can be fixed via a 'NONE:' case) as it deselects all inputs?

Incidentally, the 'audio mute' function (in xawtv) doesn't work for my
FlyVideo2000. Similarly volume controls don't seem to have any effect.

>
> > -#define card_hasaudio(dev)    (dev->pci->device == PCI_DEVICE_ID_PHILIPS_SAA7134)
> > +#define card_hasaudio(dev)    ((dev->pci->device == 
>PCI_DEVICE_ID_PHILIPS_SAA7134) \
> > +                           || (dev->pci->device == PCI_DEVICE_ID_PHILIPS_SAA7130))
>
> This is wrong to.
>

Yeah, Gert Vervoort explained it to me. I'm basically flying blind here
since I don't have any specs sheet for the 7134/7130 to refer to.

Regards,
T.C.
----
Wan Tat Chee (Lecturer)
School of Computer Science, Univ. Science Malaysia,
11800 Minden, Penang, Malaysia.          Ofc Ph: +604 657-7888 x 3617
Internet: [EMAIL PROTECTED]            Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg.asc
F'print : 2DB6 E00A 9B98 BD36 AF0A  0FE8 69D2 20E5 573C DBA3




_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to