ALSA: pcm core - add a safe check to the silence filling function
authorJaroslav Kysela <perex@perex.cz>
Mon, 19 Jul 2010 14:37:39 +0000 (16:37 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 19 Jul 2010 14:47:01 +0000 (16:47 +0200)
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: Jaroslav Kysela <perex@perex.cz>

No differences found