diff options
Diffstat (limited to 'src/Ryujinx.Audio/Renderer/Parameter/MemoryPoolInParameter.cs')
-rw-r--r-- | src/Ryujinx.Audio/Renderer/Parameter/MemoryPoolInParameter.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/Ryujinx.Audio/Renderer/Parameter/MemoryPoolInParameter.cs b/src/Ryujinx.Audio/Renderer/Parameter/MemoryPoolInParameter.cs new file mode 100644 index 00000000..242e3843 --- /dev/null +++ b/src/Ryujinx.Audio/Renderer/Parameter/MemoryPoolInParameter.cs @@ -0,0 +1,33 @@ +using Ryujinx.Audio.Renderer.Common; +using System.Runtime.InteropServices; +using CpuAddress = System.UInt64; + +namespace Ryujinx.Audio.Renderer.Parameter +{ + /// <summary> + /// Input information for a memory pool. + /// </summary> + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct MemoryPoolInParameter + { + /// <summary> + /// The CPU address used by the memory pool. + /// </summary> + public CpuAddress CpuAddress; + + /// <summary> + /// The size used by the memory pool. + /// </summary> + public ulong Size; + + /// <summary> + /// The target state the user wants. + /// </summary> + public MemoryPoolUserState State; + + /// <summary> + /// Reserved/unused. + /// </summary> + private unsafe fixed uint _reserved[3]; + } +}
\ No newline at end of file |