Add a component string
int snd_component_add(struct snd_card * card, const char * component);
card
soundcard structure
component
the component id string
This function adds the component id string to the supported list. The component can be referred from the alsa-lib.
Zero otherwise a negative error code.