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