At Tue, 14 May 2002 09:08:29 -0400,
Paul Davis wrote:
> 
> >> I've written a daemon which connects the ALSA sequencer with the
> >> usbdevfs device file of a USB MIDI device. You can get it at
> >> <http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.
> >> 
> >> It requires a kernel with USB and usbdevfs support (obviously), and
> >> with hotplugging support and hotplugging scripts installed correctly.
> >
> >great!
> >
> >it's a very clean solution.  definitely the right way for usb midi,
> >rather than writing a driver module for each.
> 
> it is? isn't the right way to redirect into USB-aware code within
> alsa-lib? going through a daemon seems totally wrong to me ...

i agree that the library-plugin would be fine and effective, but it's
only if a single application shares the device.  then the device
end-point is directly bound to the application.

however, when two applications access to the device (or when arbitrary
connection is allowed), then the situation would be complicated.
there must be an end-point mixer before the device output.
i think the daemon is the easiest way to be implemented on behalf of
kernel driver.


Takashi

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to