early-access version 3498

This commit is contained in:
pineappleEA 2023-04-04 01:45:27 +02:00
parent 53406e5574
commit dfdb0904d5
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
yuzu emulator early access
=============
This is the source code for early-access 3497.
This is the source code for early-access 3498.
## Legal Notice

View File

@ -266,7 +266,8 @@ u64 SinkStream::GetExpectedPlayedSampleCount() {
auto exp_played_sample_count{min_played_sample_count +
(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() {