Fix bug causing an audio buffer to be enqueued more than once ()

This commit is contained in:
gdkchan 2021-12-26 10:48:18 -03:00 committed by GitHub
parent 0205b1d7f6
commit c0056546e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,7 @@ namespace Ryujinx.Audio.Common
for (int i = 0; i < buffersToFlush.Length; i++)
{
buffersToFlush[i] = _buffers[_hardwareBufferIndex];
buffersToFlush[i] = _buffers[hardwareBufferIndex];
_bufferAppendedCount--;
_bufferRegisteredCount++;