mirror of
				https://github.com/ryujinx-mirror/ryujinx.git
				synced 2025-11-04 08:18:58 -06:00 
			
		
		
		
	Pin audio renderer update output buffers (#6633)
This commit is contained in:
		@@ -61,6 +61,9 @@ namespace Ryujinx.Horizon.Sdk.Audio.Detail
 | 
			
		||||
            [Buffer(HipcBufferFlags.Out | HipcBufferFlags.MapAlias)] Memory<byte> performanceOutput,
 | 
			
		||||
            [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));
 | 
			
		||||
 | 
			
		||||
            return result;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user