.\" 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_DEVICE_REGISTER" "" "06 October 2005" "" ""
.SH NAME
snd_device_register \- register the device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_device_register (snd_card_t * \fIcard\fB, void * \fIdevice_data\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcard\fB\fR
the card instance
.TP
\fB\fIdevice_data\fB\fR
the data pointer to register
.SH "DESCRIPTION"
.PP
Registers the device which was already created via
\fBsnd_device_new\fR\&. Usually this is called from \fBsnd_card_register\fR,
but it can be called later if any new devices are created after
invocation of \fBsnd_card_register\fR\&.
.PP
Returns zero if successful, or a negative error code on failure or if the
device not found.