mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-31 12:17:11 +02:00
Fix bug causing an audio buffer to be enqueued more than once (#2940)
This commit is contained in:
parent
5ca549f25c
commit
fb321be510
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue