.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SND_CARD_NEW" "9" "09 October 2005" "" "" .SH NAME snd_card_new \- create and initialize a soundcard structure .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp snd_card_t * snd_card_new (int \fIidx\fB, const char * \fIxid\fB, struct module * \fImodule\fB, int \fIextra_size\fB); \fR .SH "ARGUMENTS" .TP \fB\fIidx\fB\fR card index (address) [0 ... (SNDRV_CARDS-1)] .TP \fB\fIxid\fB\fR card identification (ASCII string) .TP \fB\fImodule\fB\fR top level module for locking .TP \fB\fIextra_size\fB\fR allocate this extra size after the main soundcard structure .SH "DESCRIPTION" .PP Creates and initializes a soundcard structure. .PP Returns kmallocated snd_card_t structure. Creates the ALSA control interface (which is blocked until snd_card_register function is called).