SDL2AudioBuffer.cs 422 B

12345678910111213141516
  1. namespace Ryujinx.Audio.Backends.SDL2
  2. {
  3. class SDL2AudioBuffer
  4. {
  5. public readonly ulong DriverIdentifier;
  6. public readonly ulong SampleCount;
  7. public ulong SamplePlayed;
  8. public SDL2AudioBuffer(ulong driverIdentifier, ulong sampleCount)
  9. {
  10. DriverIdentifier = driverIdentifier;
  11. SampleCount = sampleCount;
  12. SamplePlayed = 0;
  13. }
  14. }
  15. }