rawmidi_devnode

Function rawmidi_devnode 

Source
pub fn rawmidi_devnode(card_id: u32, device_id: u32) -> Result<GString, Error>
Expand description

Allocate devnode string for rawmidi device and return it when exists.

Nodes under sound subsystem in sysfs are used to gather the information.

§card_id

The numeridcal identifier of sound card.

§device_id

The numeric identifier of rawmidi device for the sound card.

§Returns

true when the overall operation finishes successfully, else false.

§devnode

The string for devnode of rawmidi device.