control_sysname

Function control_sysname 

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

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

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

§card_id

The numeridcal ID of sound card.

§Returns

true when the overall operation finishes successfully, else false.

§sysname

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