Skip to contentSkip to conversation

Assert error

DISCUSSION Erik de Castro Lopo 2 participants 2 messages May 23, 2004

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm getting an assert error:

    ALSA lib pcm.c:824:(snd_pcm_sw_params) snd_pcm_sw_params: params->avail_min 
         problem for start_threshold
    sndfile-play: pcm.c:2084: snd_pcm_wait: Assertion `err == 1' failed.

Surely it would be better to fail a little more gracefully than this.

Erik

Signature · 11 lines
+-----------------------------------------------------------+
  Erik de Castro Lopo  [email protected] (Yes it's valid)
+-----------------------------------------------------------+
A good debugger is no substitue for a good test suite.


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
#1 lore raw
Quoted 9 lines · Erik de Castro Lopo

Hi all,

I'm getting an assert error:

    ALSA lib pcm.c:824:(snd_pcm_sw_params) snd_pcm_sw_params: params->avail_min 
         problem for start_threshold
    sndfile-play: pcm.c:2084: snd_pcm_wait: Assertion `err == 1' failed.

Surely it would be better to fail a little more gracefully than this.

The assert has nothing to do with the start_threshold problem. Can you list the plugin chain? - snd_pcm_dump() - and perhaps, upgrade to latest ALSA code (I have mentioned assert on line 2094).

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click