mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-27 03:59:13 +01:00
1825bd87b4
This is the first commit of a series of reformat around the codebase as discussed internally some weeks ago. This project being one that isn't touched that much, it shouldn't cause conflict with any opened PRs.
33 lines
No EOL
853 B
C#
33 lines
No EOL
853 B
C#
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];
|
|
}
|
|
} |