.\" 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_DISCONNECT" "" "06 October 2005" "" ""
.SH NAME
snd_device_disconnect \- disconnect the device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_device_disconnect (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 disconnect
.SH "DESCRIPTION"
.PP
Turns the device into the disconnection state, invoking
dev_disconnect callback, if the device was already registered.
.PP
Usually called from \fBsnd_card_disconnect\fR\&.
.PP
Returns zero if successful, or a negative error code on failure or if the
device not found.