BASS_ATTRIB_MIDI_QUEUED_BYTE attribute

The number of events in a MIDI stream's byte-based event queue.

BASS_ChannelGetAttribute(
    HSTREAM handle,
    BASS_ATTRIB_MIDI_QUEUED_BYTE,
    float *count
);

Parameters

handleThe MIDI stream handle.
countThe number of queued events.

Remarks

This attribute is read-only, so cannot be modified via BASS_ChannelSetAttribute. The queue can be emptied with BASS_MIDI_StreamEvents (BASS_MIDI_EVENTS_CANCEL).

See also

BASS_ATTRIB_MIDI_QUEUED_ASYNC, BASS_ATTRIB_MIDI_QUEUED_TICK

BASS_ChannelGetAttribute