Skip to contentSkip to conversation

: Speaker test hangs

ALSA - utils 0001304 [email protected] 1 participant 1 message Dec 31, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1304>
======================================================================
Reported By: herby
Assigned To:
======================================================================

Project:                    ALSA - utils
Issue ID:                   1304
Category:                   speakertest
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             08-03-2005 02:46 CEST
Last Modified:              12-31-2005 21:38 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.
======================================================================

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

----------------------------------------------------------------------
herby - 12-31-05 21:38
----------------------------------------------------------------------
I had no problems with later versions.

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                          
12-31-05 21:38 herby          Note Added: 0007360                          

======================================================================

-------------------------------------------------------
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!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click