card_sysname

Function card_sysname 

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

Allocate sysname for the sound card and return it when it 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.

§sysname

The string for sysname of the sound card.