aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Audio/Renderer/Parameter/EffectOutStatusVersion2.cs
blob: f2c9768b39b797ad432c9988b55acbea73308b74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System.Runtime.InteropServices;

namespace Ryujinx.Audio.Renderer.Parameter
{
    /// <summary>
    /// Output information for an effect version 2. (added with REV9)
    /// </summary>
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct EffectOutStatusVersion2 : IEffectOutStatus
    {
        /// <summary>
        /// Current effect state.
        /// </summary>
        public EffectState State;

        /// <summary>
        /// Unused/Reserved.
        /// </summary>
        private unsafe fixed byte _reserved[15];

        /// <summary>
        /// Current result state.
        /// </summary>
        public EffectResultState ResultState;

        EffectState IEffectOutStatus.State { get => State; set => State = value; }
    }
}