Commit 14a090f0 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update

D:2003/09/04 18:46:56
C:EMU10K1/EMU10K2 driver
A:Takashi Iwai <tiwai@suse.de>
F:pci/emu10k1/emufx.c:1.38->1.39 
L:fixed the buffer overlap on FX8010 PCM.
parent 27890fd9
......@@ -667,7 +667,7 @@ static snd_pcm_uframes_t snd_emu10k1_fx8010_playback_pointer(snd_pcm_substream_t
pcm->hw_io = ptr;
pcm->hw_ready -= frames;
pcm->sw_io += frames;
if (pcm->sw_io > runtime->buffer_size)
if (pcm->sw_io >= runtime->buffer_size)
pcm->sw_io -= runtime->buffer_size;
snd_emu10k1_fx8010_playback_transfer(substream);
return pcm->sw_io;
......
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