"Maybe" fix for #470 - reset the playback start time and audio area start when seeking. This should make the times returned correct.

Originally committed to SVN as r1394.
This commit is contained in:
Niels Martin Hansen 2007-07-08 13:49:51 +00:00
parent 02a53226ab
commit cbec57facf

View file

@ -386,7 +386,8 @@ void DirectSoundPlayer::SetEndPosition(__int64 pos) {
////////////////////////
// Set current position
void DirectSoundPlayer::SetCurrentPosition(__int64 pos) {
playPos = pos;
startPos = playPos = pos;
startTime = GetTickCount();
}