Skip to contentSkip to conversation

: Speaker Test fails with error message(s) from alsa lib. "problem for start_threshold"

ALSA - utils 0001174 [email protected] 3 participants 3 messages Jun 22, 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=1174>
======================================================================
Reported By: herby
Assigned To:
======================================================================

Project:                    ALSA - utils
Issue ID:                   1174
Category:                   speakertest
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-09-2005 00:42 CEST
Last Modified:              06-22-2005 11:39 CEST

======================================================================
Summary: Speaker Test fails with error message(s) from alsa
lib. "problem for start_threshold"
Description:
Running speaker test gets me:

Quoted 1 line
Quoted 1 line
Quoted 1 line

speaker-test 0.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 32768
Period size range from 8 to 16384
Periods = 4
Buffer time size 2525
To choose buffer_size = 15052
To choose period_size = 3763
was set period_size = 3764
was set buffer_size = 15052
ALSA lib pcm.c:824:(snd_pcm_sw_params) snd_pcm_sw_params:
params->avail_min problem for start_threshold Unable to set sw params for playback: Invalid argument Setting of swparams failed: Invalid argument
<<<
======================================================================

----------------------------------------------------------------------
herby - 06-22-05 10:19
----------------------------------------------------------------------
I've seen recent notes on the frequency range for speaker test (nice to have a wide range of things). Has anyone tried the latest version(s) to see if this bug pops its head up. I've got other programs that appear to exhibit this (or a similar) error, but I feel that a standard program is a better example. If you need more information, PLEASE let me know!

----------------------------------------------------------------------
tiwai - 06-22-05 11:39
----------------------------------------------------------------------
The bug acked. Will check what's going on there...

Issue History
Date Modified Username Field Change
======================================================================

06-09-05 00:42 herby          New Issue                                    
06-13-05 19:49 herby          Issue Monitored: herby                       
06-13-05 19:55 herby          Note Added: 0005013                          
06-15-05 14:27 jdthood        Note Added: 0005024                          
06-22-05 10:19 herby          Note Added: 0005120                          
06-22-05 11:39 tiwai          Note Added: 0005123                          

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

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#1 lore raw

I notice that there are female voice wav files in samples subdirectory.

ls speaker-test/samples

Front_Center.wav  Makefile     Noise.wav        Rear_Right.wav Side_Right.wav
Front_Left.wav    Makefile.am  Rear_Center.wav  sample_map.csv
Front_Right.wav   Makefile.in  Rear_Left.wav    Side_Left.wav

Is there an option to use female voice instead of pink noise, sine wave ?

speaker-test --help

speaker-test 0.0.8

Usage: speaker-test [OPTION]...

-t,--test 1=use pink noise, 2=use sine wave

Quoted 50 lines · [email protected] wrote:

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1174> ======================================================================

Reported By:                herby
Assigned To:                ======================================================================
Project:                    ALSA - utils
Issue ID:                   1174
Category:                   speakertest
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-09-2005 00:42 CEST
Last Modified:              06-22-2005 11:39 CEST

======================================================================
Summary: Speaker Test fails with error message(s) from alsa
lib. "problem for start_threshold"
Description: Running speaker test gets me:

speaker-test 0.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 32768
Period size range from 8 to 16384
Periods = 4
Buffer time size 2525
To choose buffer_size = 15052
To choose period_size = 3763
was set period_size = 3764
was set buffer_size = 15052
ALSA lib pcm.c:824:(snd_pcm_sw_params) snd_pcm_sw_params:
params->avail_min problem for start_threshold Unable to set sw params for playback: Invalid argument Setting of swparams failed: Invalid argument
<<<
======================================================================

----------------------------------------------------------------------
herby - 06-22-05 10:19
----------------------------------------------------------------------
I've seen recent notes on the frequency range for speaker test (nice to have a wide range of things). Has anyone tried the latest version(s) to see if this bug pops its head up. I've got other programs that appear to exhibit this (or a similar) error, but I feel that a standard program is a better example. If you need more information, PLEASE let me know!

Quoted 5 lines

----------------------------------------------------------------------
tiwai - 06-22-05 11:39
----------------------------------------------------------------------
The bug acked. Will check what's going on there...

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#2 lore raw

At Wed, 22 Jun 2005 18:22:17 +0800,

Quoted 11 lines · Raymond

I notice that there are female voice wav files in samples subdirectory.

ls speaker-test/samples
Front_Center.wav Makefile Noise.wav Rear_Right.wav
Side_Right.wav

Front_Left.wav    Makefile.am  Rear_Center.wav  sample_map.csv
Front_Right.wav   Makefile.in  Rear_Left.wav    Side_Left.wav

Is there an option to use female voice instead of pink noise, sine wave ?

Seems not yet implemented.

Takashi

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click