[alsa-devel] [for 2.6.34][PATCH] ALSA: pcm_lib - fix xrun functionality

Jaroslav Kysela perex at perex.cz
Fri Mar 26 17:24:13 CET 2010


On Fri, 26 Mar 2010, Jarkko Nikula wrote:

> The commit 4d96eb255c53ab5e39b37fd4d484ea3dc39ab456 broke the interrupt
> time xrun functionality (stream stop etc.) if the CONFIG_SND_PCM_XRUN_DEBUG
> is not set. This is because the xrun() is null defined without it.
>
> Fix this by letting the function xrun() to be always defined as it was
> before.
>
> Signed-off-by: Jarkko Nikula <jhnikula at gmail.com>
> Cc: Jaroslav Kysela <perex at perex.cz>

Oops. This is why I didn't see the broken behaviour in my tests (compiling 
everything with debug mode ;-). I applied this patch to my GIT tree. 
Thanks.

 					Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list