mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-14 21:17:43 -07: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.
36 lines
856 B
C#
36 lines
856 B
C#
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;
|
|
}
|
|
} |