reactivated sync timer

This commit is contained in:
Alexander Eckart committed 2012-03-10 19:04:14 +01:00
1 parent b7718133c4
commit 4ab5965308
1 file changed
+2 -2
+2 -2
View File
@@ -489,7 +489,7 @@ namespace Vocaluxe.Lib.Sound
if (Finished)
_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 time = _TimeCode - _data.BytesNotRead / _BytesPerSecond - latency;
_CurrentTime = time; // _SyncTimer.Update(time);
_CurrentTime = _SyncTimer.Update(time);
}
try