using System.Runtime.InteropServices;
namespace Ryujinx.Audio.Common
{
/// <summary>
/// Audio user buffer.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct AudioUserBuffer
/// Pointer to the next buffer (ignored).
public ulong NextBuffer;
/// Pointer to the user samples.
public ulong Data;
/// Capacity of the buffer (unused).
public ulong Capacity;
/// Size of the user samples region.
public ulong DataSize;
/// Offset in the user samples region (unused).
public ulong DataOffset;
}