Skip to content

Commit

Permalink
ALSA: cs46xx - Fix minimum period size
Browse files Browse the repository at this point in the history
Fix minimum period size for cs46xx cards. This fixes a problem in the
case where neither a period size nor a buffer size is passed to ALSA;
this is the case in Audacious, OpenAL, and others.

Signed-off-by: Sophie Hamilton <kernel@theblob.org>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Sophie Hamilton authored and Takashi Iwai committed Sep 8, 2009
1 parent e07cccf commit 6148b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/cs46xx/cs46xx_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@


#ifdef CONFIG_SND_CS46XX_NEW_DSP
#define CS46XX_MIN_PERIOD_SIZE 1
#define CS46XX_MIN_PERIOD_SIZE 64
#define CS46XX_MAX_PERIOD_SIZE 1024*1024
#else
#define CS46XX_MIN_PERIOD_SIZE 2048
Expand Down

0 comments on commit 6148b13

Please sign in to comment.