mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 06:42:44 +00:00
4c2ab880ef
* Ryujinx.Audio: Remove BOM from files * misc: Relicense Ryujinx.Audio under the terms of the MIT license With the approvals of all the Ryujinx.Audio contributors, this commit changes Ryujinx.Audio license from LGPLv3 to MIT.
37 lines
857 B
C#
37 lines
857 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;
|
|
}
|
|
}
|