Re: midi sub-devices in OSS emulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brent Busby wrote:
> Is there a way to access individual subdevices through the OSS emulation?

Short answer: no.
Long answer: opening a device will open the first available subdevice.

> What is the difference between midi, dmmidi, amidi, and admmidi?

/dev/midiX and /dev/dmmidiX are the same.
/dev/amidiX and /dev/admmidiX are the same.

/dev/midiX is MIDI device 0 of card X.
/dev/amidiX is MIDI device 1 of card X.

You can change the OSS device numbers with the midi_map and amidi_map options
of the snd-rawmidi module, with one number per card.  E.g., to let /dev/amidi4
point to device 2, use "options snd-rawmidi amidi_map=1,1,1,1,2".


Regards,
Clemens
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux