'\" t .\" Title: snd_component_add .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Sound Devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SND_COMPONENT_ADD" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Sound Devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_component_add \- add a component string .SH "SYNOPSIS" .HP \w'int\ snd_component_add('u .BI "int snd_component_add(struct\ snd_card\ *\ " "card" ", const\ char\ *\ " "component" ");" .SH "ARGUMENTS" .PP \fIcard\fR .RS 4 soundcard structure .RE .PP \fIcomponent\fR .RS 4 the component id string .RE .SH "DESCRIPTION" .PP This function adds the component id string to the supported list\&. The component can be referred from the alsa\-lib\&. .SH "RETURN" .PP Zero otherwise a negative error code\&. .SH "COPYRIGHT" .br