]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: pcm_lib - fix xrun functionality
authorJarkko Nikula <jhnikula@gmail.com>
Fri, 26 Mar 2010 14:07:25 +0000 (16:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 26 Mar 2010 14:26:38 +0000 (15:26 +0100)
commit0f17014b340b98465fcf0de4c0d6c84a002ec53b
treec673482b4147cb5cbb9a180496569482e291ccbf
parente1f7f02b45cf33a774d56e505ce1718af9392f5e
ALSA: pcm_lib - fix xrun functionality

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@gmail.com>
Cc: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c