diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2009-04-02 08:21:13 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-04-06 03:55:15 +0200 |
commit | c42eec0f193ed408118e20d85ea8c2e69c529993 (patch) | |
tree | b20b925ccd9ec1840045a33b856b85c38e0a6358 /security/device_cgroup.c | |
parent | ALSA: snd-atmel-ac97c: do not overwrite OCA and ICA when assigning channels (diff) | |
download | linux-c42eec0f193ed408118e20d85ea8c2e69c529993.tar.xz linux-c42eec0f193ed408118e20d85ea8c2e69c529993.zip |
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>
Diffstat (limited to 'security/device_cgroup.c')
0 files changed, 0 insertions, 0 deletions