VoiceChannelResourceInParameter.cs 763 B

12345678910111213141516171819202122232425262728
  1. using Ryujinx.Common.Memory;
  2. using System.Runtime.InteropServices;
  3. namespace Ryujinx.Audio.Renderer.Parameter
  4. {
  5. /// <summary>
  6. /// Input information for a voice channel resources.
  7. /// </summary>
  8. [StructLayout(LayoutKind.Sequential, Size = 0x70, Pack = 1)]
  9. public struct VoiceChannelResourceInParameter
  10. {
  11. /// <summary>
  12. /// The id of the voice channel resource.
  13. /// </summary>
  14. public uint Id;
  15. /// <summary>
  16. /// Mix volumes for the voice channel resource.
  17. /// </summary>
  18. public Array24<float> Mix;
  19. /// <summary>
  20. /// Indicate if the voice channel resource is used.
  21. /// </summary>
  22. [MarshalAs(UnmanagedType.I1)]
  23. public bool IsUsed;
  24. }
  25. }