.\" 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_RAWMIDI_RECEIVE" "" "06 October 2005" "" ""
.SH NAME
snd_rawmidi_receive \- receive the input data from the device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_rawmidi_receive (snd_rawmidi_substream_t * \fIsubstream\fB, const unsigned char * \fIbuffer\fB, int \fIcount\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsubstream\fB\fR
the rawmidi substream
.TP
\fB\fIbuffer\fB\fR
the buffer pointer
.TP
\fB\fIcount\fB\fR
the data size to read
.SH "DESCRIPTION"
.PP
Reads the data from the internal buffer.
.PP
Returns the size of read data, or a negative error code on failure.