Commit 806d31d7 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: emu10k1 - Fix minimum periods for efx playback

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: default avatarTakashi Iwai <tiwai@suse.de>
parent ccc0d38e
...@@ -1736,7 +1736,7 @@ static struct snd_pcm_hardware snd_emu10k1_fx8010_playback = ...@@ -1736,7 +1736,7 @@ static struct snd_pcm_hardware snd_emu10k1_fx8010_playback =
.buffer_bytes_max = (128*1024), .buffer_bytes_max = (128*1024),
.period_bytes_min = 1024, .period_bytes_min = 1024,
.period_bytes_max = (128*1024), .period_bytes_max = (128*1024),
.periods_min = 1, .periods_min = 2,
.periods_max = 1024, .periods_max = 1024,
.fifo_size = 0, .fifo_size = 0,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment