BufferMixerParameter.cs 971 B

1234567891011121314151617181920212223242526272829303132
  1. using Ryujinx.Common.Memory;
  2. using System.Runtime.InteropServices;
  3. namespace Ryujinx.Audio.Renderer.Parameter.Effect
  4. {
  5. /// <summary>
  6. /// <see cref="IEffectInParameter.SpecificData"/> for <see cref="Common.EffectType.BufferMix"/>.
  7. /// </summary>
  8. [StructLayout(LayoutKind.Sequential, Pack = 1)]
  9. public struct BufferMixParameter
  10. {
  11. /// <summary>
  12. /// The input channel indices that will be used by the <see cref="Dsp.AudioProcessor"/>.
  13. /// </summary>
  14. public Array24<byte> Input;
  15. /// <summary>
  16. /// The output channel indices that will be used by the <see cref="Dsp.AudioProcessor"/>.
  17. /// </summary>
  18. public Array24<byte> Output;
  19. /// <summary>
  20. /// The output volumes of the mixes.
  21. /// </summary>
  22. public Array24<float> Volumes;
  23. /// <summary>
  24. /// The total count of mixes used.
  25. /// </summary>
  26. public uint MixesCount;
  27. }
  28. }