Do not increment played wave buffers count for empty wave buffers (#568)

* Do not increment played wave buffers count for empty wave buffers

* Remove unused setter
This commit is contained in:
gdkchan 2019-02-12 14:05:05 -03:00 committed by GitHub
parent d306115750
commit 8eebbc736e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 14 deletions

View file

@ -312,7 +312,7 @@ namespace Ryujinx.HLE.HOS.Services.Aud.AudioRenderer
foreach (VoiceContext voice in _voices)
{
if (!voice.Playing)
if (!voice.Playing || voice.CurrentWaveBuffer.Size == 0)
{
continue;
}