At Thu, 7 Aug 2008 13:59:56 -0500, Timur Tabi wrote:
On Thu, Aug 7, 2008 at 11:29 AM, Takashi Iwai tiwai@suse.de wrote:
How is the PCM status during hang? Check /proc/asound/card0/pcm*/sub*/* files.
I wrote a script that repeatedly dumps the contents of /proc/asound/card0/pcm0p/sub0/status. I started playback, and it shows this:
...
hw_ptr : 0 appl_ptr : 17840 state: XRUN trigger_time: 165.300191122 tstamp : 165.304661787 delay : 0 avail : 0 avail_max : 0
So, the PCM status is properly changed to XRUN as expected. From the driver perspective, everything must be fine.
Also, could you run with gdb and check at which code-path is it stopped?
Sorry, I don't use gdb that much. How can I do this? I don't think I have debug versions of alsa-lib or mplayer.
What about ltrace? I'd like to know which functions are called.
Takashi