> * enabled the avermedia tvphone audio hook. switching to stereo
> should work now.
>
> the problem is - switching to stereo works perfect with tda9840 chip,
There are different models out there.
> bttv-0.7.54 seems work well too, but after I quit xawtv - the sound is not
> muted, so I must "rmmod bttv" to switch it off
That's because the avermedia_tvphone_audio() hook touches to much bits.
The patch below should fix that. Hope I did'nt broke something else...
Gerd
---------------------------- cut here ----------------------------
diff -urN bttv-0.7.54/driver/bttv-cards.c ./driver/bttv-cards.c
--- bttv-0.7.54/driver/bttv-cards.c Thu Jan 18 20:55:23 2001
+++ ./driver/bttv-cards.c Sun Jan 21 11:07:13 2001
@@ -280,9 +280,9 @@
audio_inputs: 1,
tuner: 0,
svhs: 2,
- gpiomask: 0x1000f,
+ gpiomask: 0x3000f,
muxsel: { 2, 3, 1, 1},
- audiomux: {1,0x10001, 0, 0,10},
+ audiomux: { 1,0x10001, 0, 0,10},
needs_tvaudio: 1,
tuner_type: -1,
},{
@@ -637,9 +637,13 @@
audio_inputs: 4,
tuner: 0,
svhs: 2,
+/* old entries
gpiomask: 12,
- muxsel: { 2, 3, 1, 1},
audiomux: { 13, 14, 11, 7, 0, 0},
+ */
+ gpiomask: 0x0f,
+ muxsel: { 2, 3, 1, 1},
+ audiomux: { 0x04, 0x04, 0x08, 0x04, 0},
needs_tvaudio: 1,
pll: PLL_28,
tuner_type: 5,
@@ -1415,12 +1419,11 @@
if (set) {
if (v->mode & VIDEO_SOUND_LANG1) /* SAP */
- val = 0xce;
+ val = 0x02;
if (v->mode & VIDEO_SOUND_STEREO)
- val = 0xcd;
+ val = 0x01;
if (val) {
- btaor(val, 0xff, BT848_GPIO_OUT_EN);
- btaor(val, 0xff, BT848_GPIO_DATA);
+ btaor(val, 0x03, BT848_GPIO_DATA);
if (bttv_gpio)
bttv_gpio_tracking(btv,"avermedia");
}
_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list