Query: snd_rawmidi_new
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SND_RAWMIDI_NEW(9) MIDI API SND_RAWMIDI_NEW(9)NAMEsnd_rawmidi_new - create a rawmidi instanceSYNOPSISint snd_rawmidi_new(struct snd_card * card, char * id, int device, int output_count, int input_count, struct snd_rawmidi ** rrawmidi);ARGUMENTScard the card instance id the id string device the device index output_count the number of output streams input_count the number of input streams rrawmidi the pointer to store the new rawmidi instanceDESCRIPTIONCreates a new rawmidi instance. Use snd_rawmidi_set_ops to set the operators to the new instance.RETURNZero if successful, or a negative error code on failure.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SND_RAWMIDI_NEW(9)