Skip to content
Commit 7b3a177b authored by Jaroslav Kysela's avatar Jaroslav Kysela
Browse files

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: default avatarJaroslav Kysela <perex@perex.cz>
parent 1250932e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment