2023-12-04 14:17:13 +01:00
|
|
|
namespace Ryujinx.Audio.Backends.SDL2
|
2021-05-05 23:37:09 +02: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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|