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