2023-12-04 08:17:13 -05:00
|
|
|
namespace Ryujinx.Audio.Backends.SDL2
|
2021-05-05 17:37:09 -04:00
|
|
|
{
|
|
|
|
class SDL2AudioBuffer
|
|
|
|
{
|
|
|
|
public readonly ulong DriverIdentifier;
|
|
|
|
public readonly ulong SampleCount;
|
|
|
|
public ulong SamplePlayed;
|
|
|
|
|
|
|
|
public SDL2AudioBuffer(ulong driverIdentifier, ulong sampleCount)
|
|
|
|
{
|
|
|
|
DriverIdentifier = driverIdentifier;
|
|
|
|
SampleCount = sampleCount;
|
|
|
|
SamplePlayed = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|