Set the rawmidi operators
void snd_rawmidi_set_ops(struct snd_rawmidi * rmidi, int stream, struct snd_rawmidi_ops * ops);
rmidi
the rawmidi instance
stream
the stream direction, SNDRV_RAWMIDI_STREAM_XXX
ops
the operator table
Sets the rawmidi operators for the given stream direction.