[Home]

Summary:ASTERISK-05114: [request] alsa.conf needs a option for allowing non-blocking
Reporter:geisj (geisj)Labels:
Date Opened:2005-09-19 10:03:45Date Closed:2011-06-07 14:03:16
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:With asterisk running using alsa the sound port is block for playing.

I suggest adding an option in alsa.conf to set nonblocking in the chan_alsa.c

then in chan_alsa.c add the function call (if nonblocking is allowed)

snd_pcm_nonblock(handle, 1);

****** ADDITIONAL INFORMATION ******

Would be great to see fixed  in 1.2beta releass.
Comments:By: Michael Jerris (mikej) 2005-09-25 16:22:02

It appears that no one is going after this one.  I suggest you attempt to post a bounty for this on the wiki to get it resolved.  Feel free to re-open this if anyone is interested in supplying code to add this feature.  Thanks