mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Fix bug causing an audio buffer to be enqueued more than once (#2940)
This commit is contained in:
1 parent
0205b1d7f6
commit
c0056546e7
1 file changed
+1
-1
@@ -175,7 +175,7 @@ namespace Ryujinx.Audio.Common
|
|||||||
|
|
||||||
for (int i = 0; i < buffersToFlush.Length; i++)
|
for (int i = 0; i < buffersToFlush.Length; i++)
|
||||||
{
|
{
|
||||||
buffersToFlush[i] = _buffers[_hardwareBufferIndex];
|
buffersToFlush[i] = _buffers[hardwareBufferIndex];
|
||||||
|
|
||||||
_bufferAppendedCount--;
|
_bufferAppendedCount--;
|
||||||
_bufferRegisteredCount++;
|
_bufferRegisteredCount++;
|
||||||
|
|||||||
Reference in new issue
Block a user