mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00

* 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.
38 lines
964 B
C#
38 lines
964 B
C#
using Ryujinx.Audio.Integration;
|
|
|
|
namespace Ryujinx.Audio.Common
|
|
{
|
|
/// <summary>
|
|
/// Represent an audio buffer that will be used by an <see cref="IHardwareDeviceSession"/>.
|
|
/// </summary>
|
|
public class AudioBuffer
|
|
{
|
|
/// <summary>
|
|
/// Unique tag of this buffer.
|
|
/// </summary>
|
|
/// <remarks>Unique per session</remarks>
|
|
public ulong BufferTag;
|
|
|
|
/// <summary>
|
|
/// Pointer to the user samples.
|
|
/// </summary>
|
|
public ulong DataPointer;
|
|
|
|
/// <summary>
|
|
/// Size of the user samples region.
|
|
/// </summary>
|
|
public ulong DataSize;
|
|
|
|
/// <summary>
|
|
/// The timestamp at which the buffer was played.
|
|
/// </summary>
|
|
/// <remarks>Not used but useful for debugging</remarks>
|
|
public ulong PlayedTimestamp;
|
|
|
|
/// <summary>
|
|
/// The user samples.
|
|
/// </summary>
|
|
public byte[] Data;
|
|
}
|
|
}
|