mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00

* Ryujinx.Audio: Remove BOM from files * misc: Relicense Ryujinx.Audio under the terms of the MIT license With the approvals of all the Ryujinx.Audio contributors, this commit changes Ryujinx.Audio license from LGPLv3 to MIT.
34 lines
854 B
C#
34 lines
854 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];
|
|
}
|
|
}
|