mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-12-16 15:15:08 -06:00
Various small audren fixes (#894)
* Remove redundant modulo on wave buffer index This is already performed by SetBufferIndex * Correct typo in UpdateDataHeader MixeSize -> MixSize * Remove unused variable in audren 'volume' was unused and 'voice.Volume' was used instead so remove 'volume'
This commit is contained in:
@@ -108,7 +108,7 @@ namespace Ryujinx.HLE.HOS.Services.Audio.AudioRendererManager
|
||||
|
||||
if (wb.Looping == 0)
|
||||
{
|
||||
SetBufferIndex((_bufferIndex + 1) & 3);
|
||||
SetBufferIndex(_bufferIndex + 1);
|
||||
}
|
||||
|
||||
_outStatus.PlayedWaveBuffersCount++;
|
||||
|
||||
Reference in New Issue
Block a user