Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       snd_rawmidi_receive - receive the input data from the device

SYNOPSIS

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

ARGUMENTS

       substream
              the rawmidi substream

       buffer the buffer pointer

       count  the data size to read

DESCRIPTION

       Reads the data from the internal buffer.

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