BASS_ATTRIB_WEBM attribute

BASSWEBM stream indicator.

BASS_ChannelGetAttribute(
    DWORD handle,
    BASS_ATTRIB_WEBM,
    float *iswebm
);

Parameters

handleThe channel handle.
iswebmIs a BASSWEBM stream? 0 = no, 1 = yes.

Remarks

This attribute is read-only, so cannot be modified via BASS_ChannelSetAttribute. Its value will actually never be 0 because it is only available on BASSWEBM streams. BASS_ChannelGetAttributeEx can be used to check its availability without getting its value.

Example

Check if a channel is a BASSWEBM stream.
if (BASS_ChannelGetAttributeEx(handle, BASS_ATTRIB_WEBM, NULL, 0)) {
    // is a BASSWEBM stream
}

See also

BASS_ChannelGetAttribute, BASS_ChannelGetAttributeEx