[ALSA - utils 0001304]: Speaker test hangs

bugtrack
2005-12-30T22:24:53Z

Last Modified: 12-30-2005 23:24 CET
======================================================================
Summary: Speaker test hangs
Description:
After applying the patch to the library that took out the check for a
proper "start_threshold" (file .../alsa-lib/src/pcm/pcm.c around lines 834
or so), I attempted to try a speaker test again. It hung right after
outputting "0 - Front Left". I did an strace and the results are included
in the file attached. I attempted to vary the sample rate (to 44.1 kHz)
with little luck. The wierd thing is that I can execute 'aplay' (with the
default device) and get a '.wav' file to play nicely. I can even get a
multi-channel (4 to be exact) ".wav" file to go thru 'aplay'. Why
speaker-test doesn't work is beyond me. The problem is that I appear to
use similar techniques in my own programming as speaker-test, and my
program doesen't do that well. Being as how speaker-test IS part of ALSA,
I thought I would submit the bug report against it.

If other tests need be preformed, I'd be VERY happy to do them.
======================================================================

----------------------------------------------------------------------
tiwai - 08-12-05 15:47
----------------------------------------------------------------------
ICE1724 has the restriction regarding period and buffer size alignment.
It's aligned to 32byte.

----------------------------------------------------------------------
rlrevell - 12-30-05 23:24
----------------------------------------------------------------------
Any improvement in later releases?

Issue History
Date Modified Username Field Change
======================================================================
08-03-05 02:46 herby New Issue
08-03-05 02:46 herby File Added: speaker-trace
08-03-05 12:18 tiwai Note Added: 0005621
08-04-05 03:21 herby Note Added: 0005638
08-04-05 14:10 jcdutton Note Added: 0005648
08-04-05 20:21 herby Note Added: 0005652
08-09-05 06:58 herby Note Added: 0005718
08-12-05 08:12 herby Note Added: 0005765
08-12-05 15:47 tiwai Note Added: 0005773
12-30-05 23:24 rlrevell Note Added: 0007288
======================================================================

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!