Assert error
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
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