mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-24 12:05:47 +00:00
30 lines
861 B
C#
30 lines
861 B
C#
|
namespace Ryujinx.Audio.SoundIo
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Represents the remaining bytes left buffered for a specific buffer tag
|
|||
|
/// </summary>
|
|||
|
internal class SoundIoBuffer
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// The buffer tag this <see cref="SoundIoBuffer"/> represents
|
|||
|
/// </summary>
|
|||
|
public long Tag { get; private set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// The remaining bytes still to be released
|
|||
|
/// </summary>
|
|||
|
public int Length { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Constructs a new instance of a <see cref="SoundIoBuffer"/>
|
|||
|
/// </summary>
|
|||
|
/// <param name="tag">The buffer tag</param>
|
|||
|
/// <param name="length">The size of the buffer</param>
|
|||
|
public SoundIoBuffer(long tag, int length)
|
|||
|
{
|
|||
|
Tag = tag;
|
|||
|
Length = length;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|