Hi, I'm investigating switching videolan's OSS-style audio-capture (used to complement streaming from a v4l source) to use the alsa-oss oss-redir abstraction layer. Whilst writing the patch, I came up against the quirk that i_fd = oss_pcm_open(devname, O_RDONLY | O_NONBLOCK) doesn't return a non-blocking file descriptor. This is a bit of a showstopper, as vlc relies on the fd being nonblocking in order for the thread to yield to allow interleaved video capture to occur. The problem appears to be a typo in alsa-oss/alsa/pcm.c:oss_dsp_open(), where the mode parameter rather than the oflags parameter is checked for the O_NONBLOCK flag. I've included a trivial patch to fix it. cheers; M. -- ______________________________________________________________ Matthew Hodgson matthew@mxtelecom.com Tel: +44 845 6667778 Systems Analyst, MX Telecom Ltd.