blob: 2a6190b53b57fa66066599d6d92ceba9d1ddabec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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;
}
}
}
|