Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161547
b: refs/heads/master
c: 7b54360
h: refs/heads/master
i:
  161545: c5a2da0
  161543: 367bcba
v: v3
  • Loading branch information
Oldřich Jedlička authored and Mauro Carvalho Chehab committed Sep 12, 2009
1 parent 0e901fa commit d6789a3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 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: 89dec01b7e251697720ac3d6a5310d72359eba69
refs/heads/master: 7b54360293c9d72b54e462d146c9376287d2f71b
14 changes: 12 additions & 2 deletions trunk/drivers/media/video/saa7134/saa7134-alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,16 @@ snd_card_saa7134_capture_pointer(struct snd_pcm_substream * substream)

/*
* ALSA hardware capabilities definition
*
* Report only 32kHz for ALSA:
*
* - SAA7133/35 uses DDEP (DemDec Easy Programming mode), which works in 32kHz
* only
* - SAA7134 for TV mode uses DemDec mode (32kHz)
* - Radio works in 32kHz only
* - When recording 48kHz from Line1/Line2, switching of capture source to TV
* means
* switching to 32kHz without any frequency translation
*/

static struct snd_pcm_hardware snd_card_saa7134_capture =
Expand All @@ -448,9 +458,9 @@ static struct snd_pcm_hardware snd_card_saa7134_capture =
SNDRV_PCM_FMTBIT_U8 | \
SNDRV_PCM_FMTBIT_U16_LE | \
SNDRV_PCM_FMTBIT_U16_BE,
.rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_48000,
.rates = SNDRV_PCM_RATE_32000,
.rate_min = 32000,
.rate_max = 48000,
.rate_max = 32000,
.channels_min = 1,
.channels_max = 2,
.buffer_bytes_max = (256*1024),
Expand Down

0 comments on commit d6789a3

Please sign in to comment.