reactivated sync timer
This commit is contained in:
1 parent
b7718133c4
commit
4ab5965308
1 file changed
+2
-2
@@ -489,7 +489,7 @@ namespace Vocaluxe.Lib.Sound
|
|||||||
if (Finished)
|
if (Finished)
|
||||||
_SyncTimer.Pause();
|
_SyncTimer.Pause();
|
||||||
|
|
||||||
return _CurrentTime; // _SyncTimer.Time;
|
return _SyncTimer.Time;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -843,7 +843,7 @@ namespace Vocaluxe.Lib.Sound
|
|||||||
float latency = buf.Length / _BytesPerSecond + CConfig.AudioLatency/1000f;
|
float latency = buf.Length / _BytesPerSecond + CConfig.AudioLatency/1000f;
|
||||||
float time = _TimeCode - _data.BytesNotRead / _BytesPerSecond - latency;
|
float time = _TimeCode - _data.BytesNotRead / _BytesPerSecond - latency;
|
||||||
|
|
||||||
_CurrentTime = time; // _SyncTimer.Update(time);
|
_CurrentTime = _SyncTimer.Update(time);
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in new issue
Block a user