Skip to content
Commit 9e216e8a authored by Jaroslav Kysela's avatar Jaroslav Kysela
Browse files

ALSA: pcm core - add a safe check to the silence filling function



In situation when appl_ptr is far greater then hw_ptr, the hw_avail value
can be greater than buffer_size. Check for this.

Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 79c944ad
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