using System.Runtime.InteropServices;
namespace Ryujinx.Audio.Common
{
///
/// Audio user buffer.
///
[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;
}
}