early-access version 3498
This commit is contained in:
parent
53406e5574
commit
dfdb0904d5
2 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 3497.
|
This is the source code for early-access 3498.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
|
@ -266,7 +266,8 @@ u64 SinkStream::GetExpectedPlayedSampleCount() {
|
||||||
auto exp_played_sample_count{min_played_sample_count +
|
auto exp_played_sample_count{min_played_sample_count +
|
||||||
(TargetSampleRate * time_delta) / std::chrono::seconds{1}};
|
(TargetSampleRate * time_delta) / std::chrono::seconds{1}};
|
||||||
|
|
||||||
return std::min<u64>(exp_played_sample_count, max_played_sample_count);
|
// Add 15ms of latency in sample reporting to allow for some leeway in scheduler timings
|
||||||
|
return std::min<u64>(exp_played_sample_count, max_played_sample_count) + TargetSampleCount * 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SinkStream::WaitFreeSpace() {
|
void SinkStream::WaitFreeSpace() {
|
||||||
|
|
Loading…
Reference in a new issue