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
Mary-nyan 1825bd87b4
misc: Reformat Ryujinx.Audio with dotnet-format (#3485)
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.
2022-07-25 15:46:33 -03:00

36 lines
No EOL
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;
}
}