2020-08-17 21:49:37 -04:00
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
namespace Ryujinx.Audio.Renderer.Parameter
|
|
|
|
{
|
|
|
|
/// <summary>
|
2021-05-25 13:01:09 -04:00
|
|
|
/// Output information for an effect version 2. (added with REV9)
|
2020-08-17 21:49:37 -04:00
|
|
|
/// </summary>
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
2021-05-25 13:01:09 -04:00
|
|
|
public struct EffectOutStatusVersion2 : IEffectOutStatus
|
2020-08-17 21:49:37 -04:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Current effect state.
|
|
|
|
/// </summary>
|
|
|
|
public EffectState State;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Unused/Reserved.
|
|
|
|
/// </summary>
|
|
|
|
private unsafe fixed byte _reserved[15];
|
2021-05-25 13:01:09 -04:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Current result state.
|
|
|
|
/// </summary>
|
|
|
|
public EffectResultState ResultState;
|
|
|
|
|
|
|
|
EffectState IEffectOutStatus.State { get => State; set => State = value; }
|
2020-08-17 21:49:37 -04:00
|
|
|
}
|
|
|
|
}
|