linux/sound/atmel
Hans-Christian Egtvedt c42eec0f19 ALSA: snd-atmel-ac97c: set correct size for buffer hardware parameter
This patch will set a proper maximum bytes for the buffer, which is:
channels * bytes per sample * maximum periods * maximum bytes per period.

It also sets the minimum periods to 6, a value chosen from testing, with
a minimum of 6 periods the system has good time to fill in new audio
data without skipping.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-04-06 03:55:15 +02:00
..
Kconfig ALSA: Add ALSA driver for Atmel AC97 controller 2009-02-05 15:08:51 +01:00
Makefile ALSA: Add ALSA driver for Atmel AC97 controller 2009-02-05 15:08:51 +01:00
abdac.c ALSA: Add ALSA driver for Atmel Audio Bitstream DAC 2009-02-05 15:08:48 +01:00
ac97c.c ALSA: snd-atmel-ac97c: set correct size for buffer hardware parameter 2009-04-06 03:55:15 +02:00
ac97c.h ALSA: snd-atmel-ac97c: cleanup register definitions 2009-04-06 03:54:48 +02:00