BASS_ATTRIB_MUSIC_ACTIVE attribute

The number of active channels in a MOD music.

BASS_ChannelGetAttribute(
    HMUSIC handle,
    BASS_ATTRIB_MUSIC_ACTIVE,
    float *active
);

Parameters

handleThe MOD music handle.
activeThe number of channels.

Remarks

This attribute gives the number of channels (including virtual) that are currently active in the decoder, which may not match what is being heard during playback due to buffering. This time difference can be reduced via the BASS_ATTRIB_BUFFER attribute.

This attribute is read-only, so cannot be modified via BASS_ChannelSetAttribute.

See also

BASS_ChannelGetAttribute, BASS_CONFIG_MUSIC_VIRTUAL