Pedro Lopez-Cabanillas wrote:
> It also works for me with OSS emulation:
> 
> $ ./rawmidi -v -I /dev/midi02
> Using:
> Input: /dev/midi02
> Output: NONE
> Read midi in
> Press ctrl-c to stop
> read fe
> read fe
> read fe
> read fe
> read fe
> read fe
> read fe
> Closing
> 
> But something as simple as:
> $ cat /dev/midi02 | od -x
> Doesn't work. Nothing received. ?!

rawmidi.c uses the ALSA library functions to access the rawmidi device.
Internally, alsa-lib should use the same read() call as cat, but there
seems to be a difference somewhere, maybe in the initialization.
I'm looking into it.


HTH
Clemens


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to