mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Pin audio renderer update output buffers (#6633)
This commit is contained in:
1 parent
c1b0ab805a
commit
7a971edb57
1 file changed
+3
@@ -61,6 +61,9 @@ namespace Ryujinx.Horizon.Sdk.Audio.Detail
|
|||||||
[Buffer(HipcBufferFlags.Out | HipcBufferFlags.MapAlias)] Memory<byte> performanceOutput,
|
[Buffer(HipcBufferFlags.Out | HipcBufferFlags.MapAlias)] Memory<byte> performanceOutput,
|
||||||
[Buffer(HipcBufferFlags.In | HipcBufferFlags.MapAlias)] ReadOnlySequence<byte> input)
|
[Buffer(HipcBufferFlags.In | HipcBufferFlags.MapAlias)] ReadOnlySequence<byte> input)
|
||||||
{
|
{
|
||||||
|
using MemoryHandle outputHandle = output.Pin();
|
||||||
|
using MemoryHandle performanceOutputHandle = performanceOutput.Pin();
|
||||||
|
|
||||||
Result result = new Result((int)_renderSystem.Update(output, performanceOutput, input));
|
Result result = new Result((int)_renderSystem.Update(output, performanceOutput, input));
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in new issue
Block a user