sdl3 audio callback

This commit is contained in:
madwind
2025-01-15 22:38:21 +08:00
parent 37f4c1ea1a
commit dfbcdfa83a
4 changed files with 134 additions and 25 deletions

View File

@@ -0,0 +1,16 @@
namespace Ryujinx.Audio.Backends.SDL3
{
class SDL3AudioBuffer
{
public readonly ulong DriverIdentifier;
public readonly ulong SampleCount;
public ulong SamplePlayed;
public SDL3AudioBuffer(ulong driverIdentifier, ulong sampleCount)
{
DriverIdentifier = driverIdentifier;
SampleCount = sampleCount;
SamplePlayed = 0;
}
}
}