1SND_RAWMIDI_NEW(9)                 MIDI API                 SND_RAWMIDI_NEW(9)
2
3
4

NAME

6       snd_rawmidi_new - create a rawmidi instance
7

SYNOPSIS

9       int snd_rawmidi_new(struct snd_card * card, char * id, int device,
10                           int output_count, int input_count,
11                           struct snd_rawmidi ** rrawmidi);
12

ARGUMENTS

14       card
15           the card instance
16
17       id
18           the id string
19
20       device
21           the device index
22
23       output_count
24           the number of output streams
25
26       input_count
27           the number of input streams
28
29       rrawmidi
30           the pointer to store the new rawmidi instance
31

DESCRIPTION

33       Creates a new rawmidi instance. Use snd_rawmidi_set_ops to set the
34       operators to the new instance.
35

RETURN

37       Zero if successful, or a negative error code on failure.
38
40Kernel Hackers Manual 3.10         June 2019                SND_RAWMIDI_NEW(9)
Impressum