The position scaler of a MOD music.
BASS_ChannelSetAttribute( HMUSIC handle, BASS_ATTRIB_MUSIC_PSCALER, float scale );
handle | The MOD music handle. |
scale | The scaler... 1 (min) to 256 (max). This will be rounded down to a whole number. |
The default position scaler is 1.
DWORD pos, order, row, row10th; BASS_ChannelSetAttribute(music, BASS_ATTRIB_MUSIC_PSCALER, 10); // set the scaler pos = ChannelGetPosition(music, BASS_POS_MUSIC_ORDER); order = LOWORD(pos); // the order row = HIWORD(pos) / 10; // the row row10th = HIWORD(pos) % 10; // the 10th of a row