projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7bbf87
)
ALSA: ctxfi - Set periods_min to 2
author
Takashi Iwai
<tiwai@suse.de>
Fri, 5 Jun 2009 14:12:16 +0000
(16:12 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 5 Jun 2009 14:44:22 +0000
(16:44 +0200)
Set 2 to minimal periods of playback pcm setups, too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/ctpcm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/ctxfi/ctpcm.c
b/sound/pci/ctxfi/ctpcm.c
index 32b742dcd5382b441c3128c6a130d6a56153e4fb..a0bd31c6090d6e727ce9caeb1336b64026b052dd 100644
(file)
--- 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 = {
.buffer_bytes_max = (128*1024),
.period_bytes_min = (64),
.period_bytes_max = (128*1024),
- .periods_min =
1
,
+ .periods_min =
2
,
.periods_max = 1024,
.fifo_size = 0,
};
@@
-62,7
+62,7
@@
static struct snd_pcm_hardware ct_spdif_passthru_playback_hw = {
.buffer_bytes_max = (128*1024),
.period_bytes_min = (64),
.period_bytes_max = (128*1024),
- .periods_min =
1
,
+ .periods_min =
2
,
.periods_max = 1024,
.fifo_size = 0,
};