0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx.Audio/Common/AudioUserBuffer.cs

36 lines
856 B
C#
Raw Normal View History

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