From 16d66bebc54b2dcab8b538e1a224bc40c6cd7511 Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Wed, 4 Jan 2006 03:15:34 +0000 Subject: Fixed the audio distortion in cx88-alsa From: Ricardo Cerqueira 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: --- linux/drivers/media/video/cx88/cx88-alsa.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'linux/drivers/media/video/cx88/cx88-alsa.c') 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, }; -- cgit v1.2.3