On Tue, 18 Sep 2001, Steve Harris wrote:

> Hi,
>
> We've installed a ice1712 based card for midi (midiman 2496 or
> something like that) at work, and we're trying to get a program
> written in java working.
>
> We're using alsa 0.9.0beta7.
>
> When we open /dev/midi00 (with dd, java etc), it is buffered, whereas oss
> devices didn't appear to be. Is there a way of making it unbuffered by
> default?

Use the O_NONBLOCK flag for open() or fcntl() with F_SETFL to
O_NONBLOK after open.

> Also, when nothing has opened /dev/midi00 the input is copied to the
> output, is this intentional? (doesn't really matter, just curious).

This feature is not described in the ICE1712 chip datasheet.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux    http://www.suse.com
ALSA project  http://www.alsa-project.org


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

Reply via email to