Fixed BASSMODS seeking
This commit is contained in:
parent
75c565da0d
commit
e3bc17302a
1 changed files with 2 additions and 2 deletions
|
@ -210,9 +210,9 @@ static void SyncProc( HSYNC handle, DWORD channel, DWORD data, void *user )
|
||||||
pos = 0;
|
pos = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
BASS_ChannelSetPosition( music, (frame - pos) * (sizeof(float) * 2), BASS_POS_BYTE | BASS_POS_DECODETO );
|
BASS_ChannelSetPosition( music, frame * (sizeof(float) * 2), BASS_POS_BYTE | BASS_POS_DECODETO );
|
||||||
|
|
||||||
return frame;
|
return frame;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)cleanUp
|
- (void)cleanUp
|
||||||
|
|
Loading…
Reference in a new issue