ALSA: emu10k1 - Fix minimum periods for efx playback

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, June 12, 2009 - 12:02 pm

Gitweb:     http://git.kernel.org/linus/806d31d73843a018cb239fc16ba53d82f4d8dc33
Commit:     806d31d73843a018cb239fc16ba53d82f4d8dc33
Parent:     ccc0d38ec13d4649d4168c1db590137df53ad783
Author:     Takashi Iwai <tiwai@suse.de>
AuthorDate: Mon Jun 8 15:50:42 2009 +0200
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Mon Jun 8 15:50:42 2009 +0200

    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: Takashi Iwai <tiwai@suse.de>
---
 sound/pci/emu10k1/emupcm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/pci/emu10k1/emupcm.c b/sound/pci/emu10k1/emupcm.c
index 78f62fd..55b83ef 100644
--- 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,
 };
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ALSA: emu10k1 - Fix minimum periods for efx playback, Linux Kernel Mailing ..., (Fri Jun 12, 12:02 pm)