SinkOutStatus.cs 671 B

1234567891011121314151617181920212223242526
  1. using System.Runtime.InteropServices;
  2. namespace Ryujinx.Audio.Renderer.Parameter
  3. {
  4. /// <summary>
  5. /// Output information for a sink.
  6. /// </summary>
  7. [StructLayout(LayoutKind.Sequential, Pack = 1)]
  8. public struct SinkOutStatus
  9. {
  10. /// <summary>
  11. /// Last written offset if the sink type is <see cref="Common.SinkType.CircularBuffer"/>.
  12. /// </summary>
  13. public uint LastWrittenOffset;
  14. /// <summary>
  15. /// Reserved/padding.
  16. /// </summary>
  17. private uint _padding;
  18. /// <summary>
  19. /// Reserved/padding.
  20. /// </summary>
  21. private unsafe fixed ulong _reserved[3];
  22. }
  23. }