Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76289
b: refs/heads/master
c: 155c6ab
h: refs/heads/master
i:
  76287: 9c66f64
v: v3
  • Loading branch information
Nickolay V. Shmyrev authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 9f2aeec commit c17cb0b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b9b936f278163614543d66f8e8c93d5484dd148
refs/heads/master: 155c6ab9ed255745758b6aa0f266e4d40aa32a21
18 changes: 11 additions & 7 deletions trunk/drivers/media/video/bt8xx/bttv-audio-hook.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,24 +101,28 @@ void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set)
} else {
switch (val & 0x70) {
case 0x10:
t->audmode = V4L2_TUNER_MODE_LANG1 | V4L2_TUNER_MODE_LANG2;
t->rxsubchans = V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2;
break;
case 0x30:
t->audmode = V4L2_TUNER_MODE_LANG2;
t->rxsubchans = V4L2_TUNER_SUB_LANG2;
break;
case 0x50:
t->audmode = V4L2_TUNER_MODE_LANG1;
t->rxsubchans = V4L2_TUNER_SUB_LANG1;
break;
case 0x60:
t->audmode = V4L2_TUNER_MODE_STEREO;
t->rxsubchans = V4L2_TUNER_SUB_STEREO;
break;
case 0x70:
t->audmode = V4L2_TUNER_MODE_MONO;
t->rxsubchans = V4L2_TUNER_SUB_MONO;
break;
default:
t->audmode = V4L2_TUNER_MODE_MONO | V4L2_TUNER_MODE_STEREO |
V4L2_TUNER_MODE_LANG1 | V4L2_TUNER_MODE_LANG2;
t->rxsubchans = V4L2_TUNER_SUB_MONO |
V4L2_TUNER_SUB_STEREO |
V4L2_TUNER_SUB_LANG1 |
V4L2_TUNER_SUB_LANG2;
}
t->audmode = V4L2_TUNER_MODE_STEREO |
V4L2_TUNER_MODE_LANG1 | V4L2_TUNER_MODE_LANG2;
}
}

Expand Down

0 comments on commit c17cb0b

Please sign in to comment.