summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-alsa.c
diff options
context:
space:
mode:
authorRicardo Cerqueira <devnull@localhost>2006-01-04 03:15:34 +0000
committerRicardo Cerqueira <devnull@localhost>2006-01-04 03:15:34 +0000
commit16d66bebc54b2dcab8b538e1a224bc40c6cd7511 (patch)
tree49ec62a2b87752a5d37b03521a76415ae5924c92 /linux/drivers/media/video/cx88/cx88-alsa.c
parent3bc98ce6ea05a056facc4c5254c7a5725eea1e6c (diff)
downloadmediapointer-dvb-s2-16d66bebc54b2dcab8b538e1a224bc40c6cd7511.tar.gz
mediapointer-dvb-s2-16d66bebc54b2dcab8b538e1a224bc40c6cd7511.tar.bz2
Fixed the audio distortion in cx88-alsa
From: Ricardo Cerqueira <v4l@cerqueira.org> The audio distortion was apparently being caused by the high amount of interrupts being generated. Increasing the buffer from 512 to 4096 seems to fix it Signed-off-by:
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-alsa.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-alsa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-alsa.c b/linux/drivers/media/video/cx88/cx88-alsa.c
index 399271a96..145afd07c 100644
--- a/linux/drivers/media/video/cx88/cx88-alsa.c
+++ b/linux/drivers/media/video/cx88/cx88-alsa.c
@@ -1,5 +1,5 @@
/*
- * $Id: cx88-alsa.c,v 1.23 2006/01/03 16:37:08 mchehab Exp $
+ * $Id: cx88-alsa.c,v 1.24 2006/01/04 03:15:34 rmcc Exp $
*
* Support for audio capture
* PCI function #1 of the cx2388x.
@@ -388,9 +388,9 @@ static snd_pcm_hardware_t snd_cx88_digital_hw = {
.rate_max = 96000,
.channels_min = 1,
.channels_max = 2,
- .buffer_bytes_max = (4*128),
- .period_bytes_min = 128,
- .period_bytes_max = 128,
+ .buffer_bytes_max = (4*1024),
+ .period_bytes_min = 1024,
+ .period_bytes_max = 1024,
.periods_min = 4,
.periods_max = 4,
};