Hi,

My appologies.  The nonblocking problem relates to ALSA
0.4.x and is using OSS emulation via the standard
open("/dev/dsp", O_RDONLY|O_NONBLOCK);

Shane


On Mon, Dec 17, 2001 at 12:53:24PM -0800, Shane Wegner wrote:
> Hi,
> 
> I am writing an application which uses non-blocking I/O and
> it seems to be having a bit of trouble with ALSA 0.5.x. 
> With alsa 0.9, it works as expected, reads data and returns
> short or -EAGAIN when no data is available.  On the 0.5
> test system, the application will block until it receives
> all data requested.
> 
> I tried opening the device with O_NONBLOCK and then tried
> using an fcntl call when that didn't work.  Is there any
> driver options which influence this or are there any known
> problems with 0.5.x?
> 
> Cheers,
> Shane
> 
> -- 
> Shane Wegner: [EMAIL PROTECTED]
>               http://www.cm.nu/~shane/
> PGP:          1024D/FFE3035D
>               A0ED DAC4 77EC D674 5487
>               5B5C 4F89 9A4E FFE3 035D
> 
> _______________________________________________
> Alsa-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/alsa-devel

-- 
Shane Wegner: [EMAIL PROTECTED]
              http://www.cm.nu/~shane/
PGP:          1024D/FFE3035D
              A0ED DAC4 77EC D674 5487
              5B5C 4F89 9A4E FFE3 035D

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to