Sets a MOD music's BASS_ChannelGetPosition scaler.
BOOL WINAPI BASS_MusicSetPositionScaler( |
Parameters
handle | The MOD music's handle. |
scale | The scaler... 1 (min) - 256 (max)... the default when a MOD music is loaded is 1. |
Return value
If succesful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE | handle is not valid. |
Remarks
When you call BASS_ChannelGetPosition, the row (HIWORD) will be scaled by this value. By using a higher scaler, you can get a more precise position indication.
Example
To get the position of a MOD music accurate to within a 10th of a row.
DWORD pos,order,row,row10th; |
See also
BASS_ChannelGetPosition