control_devnode

Function control_devnode 

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

Allocate string of devnode for control device of the sound card and return it if exists.

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

§card_id

The numeric ID of sound card.

§Returns

true when the overall operation finishes successfully, else false.

§devnode

The string for devnode of control device for the sound card.