forked from mia/Aegisub
"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:
parent
02a53226ab
commit
cbec57facf
1 changed files with 2 additions and 1 deletions
|
@ -386,7 +386,8 @@ void DirectSoundPlayer::SetEndPosition(__int64 pos) {
|
||||||
////////////////////////
|
////////////////////////
|
||||||
// Set current position
|
// Set current position
|
||||||
void DirectSoundPlayer::SetCurrentPosition(__int64 pos) {
|
void DirectSoundPlayer::SetCurrentPosition(__int64 pos) {
|
||||||
playPos = pos;
|
startPos = playPos = pos;
|
||||||
|
startTime = GetTickCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue