.\" 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_NEW" "9" "09 October 2005" "" "" .SH NAME snd_rawmidi_new \- create a rawmidi instance .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int snd_rawmidi_new (snd_card_t * \fIcard\fB, char * \fIid\fB, int \fIdevice\fB, int \fIoutput_count\fB, int \fIinput_count\fB, snd_rawmidi_t ** \fIrrawmidi\fB); \fR .SH "ARGUMENTS" .TP \fB\fIcard\fB\fR the card instance .TP \fB\fIid\fB\fR the id string .TP \fB\fIdevice\fB\fR the device index .TP \fB\fIoutput_count\fB\fR the number of output streams .TP \fB\fIinput_count\fB\fR the number of input streams .TP \fB\fIrrawmidi\fB\fR the pointer to store the new rawmidi instance .SH "DESCRIPTION" .PP Creates a new rawmidi instance. Use \fBsnd_rawmidi_set_ops\fR to set the operators to the new instance. .PP Returns zero if successful, or a negative error code on failure.