1. NAME

snd_rawmidi_receive - receive the input data from the device

2. SYNOPSIS

int snd_rawmidi_receive(struct snd_rawmidi_substream *  substream , const unsigned char *  buffer , int  count );

3. ARGUMENTS

substream
    the rawmidi substream

buffer
    the buffer pointer

count
    the data size to read

4. DESCRIPTION

Reads the data from the internal buffer.

5. RETURN

The size of read data, or a negative error code on failure.

6. COPYRIGHT