projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccc0d38
)
ALSA: emu10k1 - Fix minimum periods for efx playback
author
Takashi Iwai
<tiwai@suse.de>
Mon, 8 Jun 2009 13:50:42 +0000
(15:50 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 8 Jun 2009 13:50:42 +0000
(15:50 +0200)
EFX playback stream should have periods_min = 2 to avoid the buffer
position overflow (due to restrictions of the pcm-indirect helper).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emupcm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/emu10k1/emupcm.c
b/sound/pci/emu10k1/emupcm.c
index 78f62fd404c29613c802d4c812fb3d639c28e107..55b83ef73c630e83b2d098a45cce1f570923df7f 100644
(file)
--- a/
sound/pci/emu10k1/emupcm.c
+++ b/
sound/pci/emu10k1/emupcm.c
@@
-1736,7
+1736,7
@@
static struct snd_pcm_hardware snd_emu10k1_fx8010_playback =
.buffer_bytes_max = (128*1024),
.period_bytes_min = 1024,
.period_bytes_max = (128*1024),
- .periods_min =
1
,
+ .periods_min =
2
,
.periods_max = 1024,
.fifo_size = 0,
};