On Thu, 2006-01-05 at 18:56 -0900, Britton Kerin wrote:
> Is it a problem to have a high priority pair of userspace threads
> handling a 
> ring buffer which then gets filled or drained using snd_pcm_writei
> with
> a pcm
> opened in blocking mode, or will the competing userspace threads cause
> problems?

Nope, that sounds like a good implementation, just use mutexes to
protect the shared data.

Lee



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to