---
name: "snd_component_add"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_component_add"
---

# snd\_component\_add(9)

add a component string

## NAME

snd\_component\_add - add a component string

## SYNOPSIS

**int snd\_component\_add(struct snd\_card \*** *card***, const char \*** *component***);**

## ARGUMENTS

*card*

soundcard structure

*component*

the component id string

## DESCRIPTION

This function adds the component id string to the supported list. The component can be referred from the alsa-lib.

## RETURN

Zero otherwise a negative error code.

## COPYRIGHT
