commit | 7b3a177b0d4f92b3431b8dca777313a07533a710 | [log] [tgz] |
---|---|---|
author | Jaroslav Kysela <perex@perex.cz> | Fri Jan 08 08:43:01 2010 +0100 |
committer | Jaroslav Kysela <perex@perex.cz> | Fri Jan 08 08:46:45 2010 +0100 |
tree | 25a484491731ef31baa6a80f468ed78d6e553cd9 | |
parent | 1250932e48d3b698415b1f04775433cf1da688d6 [diff] |
ALSA: pcm_lib: fix "something must be really wrong" condition When runtime->periods == 1 or when pointer crosses end of ring buffer, the delta might be greater than buffer_size. Signed-off-by: Jaroslav Kysela <perex@perex.cz>