mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-16 20:46:39 +00:00
Fix input consumed by audio renderer SplitterState.Update (#6640)
* Fix input consumed by audio renderer SplitterState.Update * Use sizeof(int) to make clear what the value is
This commit is contained in:
parent
543d75a587
commit
e7f2342eba
@ -159,6 +159,11 @@ namespace Ryujinx.Audio.Renderer.Server.Splitter
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (destinationCount < parameter.DestinationCount)
|
||||||
|
{
|
||||||
|
input.Advance((parameter.DestinationCount - destinationCount) * sizeof(int));
|
||||||
|
}
|
||||||
|
|
||||||
Debug.Assert(parameter.Id == Id);
|
Debug.Assert(parameter.Id == Id);
|
||||||
|
|
||||||
if (parameter.Id == Id)
|
if (parameter.Id == Id)
|
||||||
|
Loading…
Reference in New Issue
Block a user