Fills the *status structure. Function returns zero if successful, otherwise it returns an error code.
typedef struct snd_rawmidi_channel_status {
int channel;
int size;
int count;
int queue;
int pad;
int free;
int overrun;
unsigned char reserved[16];
} snd_rawmidi_channel_status_t;| Flag | Description |
|---|---|
| channel | Can be either SND_RAWMIDI_CHANNEL_OUTPUT or SND_RAWMIDI_CHANNEL_INPUT. |
| size | Size of currently allocated queue in bytes. |
| count | Count of bytes writable or readable without blocking. |
| queue | Count of bytes in queue (number of bytes waiting to be output). |
| free | Count of bytes in queue still free. |
| overrun | [Input only] This value tells the application the count of overruns since the last call to snd_rawmidi_channel_status. |