ALSA: pcm - Add logging of hwptr updates and interrupt updates
authorTakashi Iwai <tiwai@suse.de>
Thu, 23 Jul 2009 09:04:13 +0000 (11:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 23 Jul 2009 09:09:03 +0000 (11:09 +0200)
commitcedb8118e8cef21a2b73fd9cb70660ac19124c16
tree080bc68c721b8ed24ebff7c809b7e74f6959148f
parent79452f0a28aa5a40522c487b42a5fc423647ad98
ALSA: pcm - Add logging of hwptr updates and interrupt updates

Added the logging functionality to xrun_debug to record the hwptr
updates via snd_pcm_update_hw_ptr() and snd_pcm_update_hwptr_interrupt(),
corresponding to 16 and 8, respectively.

For example,
# echo 9 > /proc/asound/card0/pcm0p/xrun_debug
will record the position and other parameters at each period interrupt
together with the normal XRUN debugging.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/alsa/Procfile.txt
sound/core/pcm_lib.c