The priority of the volume DSP.
BASS_ChannelSetAttribute(
DWORD handle,
BASS_ATTRIB_VOLDSP_PRIORITY,
float priority
);
| handle | The channel handle. |
| priority | The priority... -2147483648 (min) to 2147483647 (max). This attribute is an integer (floating-point values will be truncated). |
32-bit floating-point cannot precisely hold values exceeding +/-16777216. BASS_ChannelSetAttributeEx and BASS_ChannelGetAttributeEx (with BASS_ATTRIBTYPE_INT) can be used instead of BASS_ChannelSetAttribute and BASS_ChannelGetAttribute to deal with such large values precisely.
The default value is 2147483647 (max). Changes take immediate effect.
int priority = 20; BASS_ChannelSetAttributeEx(handle, BASS_ATTRIB_VOLDSP_PRIORITY, &priority, BASS_ATTRIBTYPE_INT);