[alsa-devel] Listing raw midi devices "The Right Way"?

Clemens Ladisch clemens at ladisch.de
Wed Jun 18 16:27:38 CEST 2008


Jacob Ole Juul Kolding wrote:
> I already found a code example that reads raw midi packages form a
> specified device but I need to have a complete list of ALL raw midi
> capable devices and ports on the system.
>
> What is the "Right Way" for an app to build such a list?

See the source code of amidi.

You probably should be using the sequencer instead of the raw MIDI
interface, in which case look at the source code of arecordmidi.


HTH
Clemens


More information about the Alsa-devel mailing list