diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-06-05 10:12:16 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-06-05 10:44:22 -0400 |
commit | 775ffa1d3e5a550dd2c9d947d773021c61531b36 (patch) | |
tree | 7e32bab0739c9ea033b8948fa5039ecc184ddff2 /sound/pci | |
parent | b7bbf876087e0e2c0ba723a8398083c9a9ac1dfd (diff) |
ALSA: ctxfi - Set periods_min to 2
Set 2 to minimal periods of playback pcm setups, too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/ctxfi/ctpcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ctxfi/ctpcm.c b/sound/pci/ctxfi/ctpcm.c index 32b742dcd538..a0bd31c6090d 100644 --- a/sound/pci/ctxfi/ctpcm.c +++ b/sound/pci/ctxfi/ctpcm.c | |||
@@ -40,7 +40,7 @@ static struct snd_pcm_hardware ct_pcm_playback_hw = { | |||
40 | .buffer_bytes_max = (128*1024), | 40 | .buffer_bytes_max = (128*1024), |
41 | .period_bytes_min = (64), | 41 | .period_bytes_min = (64), |
42 | .period_bytes_max = (128*1024), | 42 | .period_bytes_max = (128*1024), |
43 | .periods_min = 1, | 43 | .periods_min = 2, |
44 | .periods_max = 1024, | 44 | .periods_max = 1024, |
45 | .fifo_size = 0, | 45 | .fifo_size = 0, |
46 | }; | 46 | }; |
@@ -62,7 +62,7 @@ static struct snd_pcm_hardware ct_spdif_passthru_playback_hw = { | |||
62 | .buffer_bytes_max = (128*1024), | 62 | .buffer_bytes_max = (128*1024), |
63 | .period_bytes_min = (64), | 63 | .period_bytes_min = (64), |
64 | .period_bytes_max = (128*1024), | 64 | .period_bytes_max = (128*1024), |
65 | .periods_min = 1, | 65 | .periods_min = 2, |
66 | .periods_max = 1024, | 66 | .periods_max = 1024, |
67 | .fifo_size = 0, | 67 | .fifo_size = 0, |
68 | }; | 68 | }; |