BASS_ChannelGetAttribute
Retrieves the value of a channel's attribute.
BOOL BASS_ChannelGetAttribute(
DWORD handle,
DWORD attrib,
float *value
);
Parameters
handle | The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD.
|
attrib | The attribute to get the value of... one of the following.
other attributes may be supported by add-ons, see the documentation.
|
value | Pointer to a variable to receive the attribute value.
|
Return value
If successful, then TRUE is returned, else FALSE is returned. Use
BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE | handle is not a valid channel.
|
BASS_ERROR_NOTAVAIL | The attribute is not available.
|
BASS_ERROR_ILLTYPE | attrib is not valid.
|
some attributes may have additional error codes, see the documentation.
See also
BASS_ChannelGet3DAttributes,
BASS_ChannelGetAttributeEx,
BASS_ChannelGetInfo,
BASS_ChannelSetAttribute