'\" t .\" Title: snd_card_register .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Management of Cards and Devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_CARD_REGISTER" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Management of Cards and Device" .\" ----------------------------------------------------------------- .\" * 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_card_register \- register the soundcard .SH "SYNOPSIS" .HP \w'int\ snd_card_register('u .BI "int snd_card_register(struct\ snd_card\ *\ " "card" ");" .SH "ARGUMENTS" .PP \fIcard\fR .RS 4 soundcard structure .RE .SH "DESCRIPTION" .PP This function registers all the devices assigned to the soundcard\&. Until calling this, the ALSA control interface is blocked from the external accesses\&. Thus, you should call this function at the end of the initialization of the card\&. .SH "RETURN" .PP Zero otherwise a negative error code if the registration failed\&. .SH "COPYRIGHT" .br