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:
parent
595e7716d8
commit
90b4759085
3 changed files with 2 additions and 3 deletions
|
@ -108,7 +108,7 @@ namespace Ryujinx.HLE.HOS.Services.Audio.AudioRendererManager
|
|||
|
||||
if (wb.Looping == 0)
|
||||
{
|
||||
SetBufferIndex((_bufferIndex + 1) & 3);
|
||||
SetBufferIndex(_bufferIndex + 1);
|
||||
}
|
||||
|
||||
_outStatus.PlayedWaveBuffersCount++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue