.\" 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_PROC_NEW" "9" "09 October 2005" "" "" .SH NAME snd_card_proc_new \- create an info entry for the given card .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int snd_card_proc_new (snd_card_t * \fIcard\fB, const char * \fIname\fB, snd_info_entry_t ** \fIentryp\fB); \fR .SH "ARGUMENTS" .TP \fB\fIcard\fB\fR the card instance .TP \fB\fIname\fB\fR the file name .TP \fB\fIentryp\fB\fR the pointer to store the new info entry .SH "DESCRIPTION" .PP Creates a new info entry and assigns it to the given card. Unlike \fBsnd_info_create_card_entry\fR, this function registers the info entry as an ALSA device component, so that it can be unregistered/released without explicit call. Also, you don't have to register this entry via \fBsnd_info_register\fR, since this will be registered by \fBsnd_card_register\fR automatically. .PP The parent is assumed as card->proc_root. .PP For releasing this entry, use \fBsnd_device_free\fR instead of \fBsnd_info_free_entry\fR\&. .PP Returns zero if successful, or a negative error code on failure.