On Tue, 17 Jun 2003, Moshe Yudkowsky wrote: > Sorry, folks, but this is the only spot I know to post 'em > > DIFF 1: > > In pcm.c, pcm->buffer can be 0. Since pcm_direct.c calls the function > snd_pcm_sw_params_get_silence_threshold() with value 0, the assert > fires. Now it's quite possible that I'm getting this wrong, but if > pcm->buffer_size can be zero, than this is an error. I was getting this > assert when the Asterisk PBX package (www.asteriskpbx.com) tried to load > both OSS and ALSA -- I think incorrectly, but that's another problem. > > This diff works for me -- xine works, xmms works, play [sox] works, and > asterisk no longer asserts -- but that might just mean that I'm courting > some other trouble.
The condition is correct. The pcm->buffer_size should not be zero at this point, but I wonder why the snd_pcm_hw_params() call does not return an error before. > > AC_CHECK_LIB(ncurses, initscr, This problem was fixed yesterday. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user