BASS_ChannelSetAttributeEx
Sets the value of a channel's attribute.
BOOL BASS_ChannelSetAttributeEx(
DWORD handle,
DWORD attrib,
void *value,
DWORD size
);
Parameters
handle | The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD.
|
attrib | The attribute to set the value of... one of the following.
other attributes may be supported by add-ons, see the documentation.
|
value | The new attribute data.
|
size | The size of the attribute data.
|
Return value
If successful, 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_ILLTYPE | attrib is not valid.
|
BASS_ERROR_ILLPARAM | The value content or size is not valid.
|
some attributes may have additional error codes, see the documentation.
Remarks
This function also supports the floating-point attributes supported by
BASS_ChannelGetAttribute.
See also
BASS_ChannelGetAttributeEx,
BASS_ChannelSetAttribute