aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Audio/Renderer/Parameter/MixInParameterDirtyOnlyUpdate.cs
blob: c0954cda04bd1e9c0e082a63ac2c9a09178f57df (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
using System.Runtime.InteropServices;

namespace Ryujinx.Audio.Renderer.Parameter
{
    /// <summary>
    /// Input information header for mix updates on REV7 and later
    /// </summary>
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct MixInParameterDirtyOnlyUpdate
    {
        /// <summary>
        /// Magic of the header
        /// </summary>
        /// <remarks>Never checked on hardware.</remarks>
        public uint Magic;

        /// <summary>
        /// The count of <see cref="MixParameter"/> following this header.
        /// </summary>
        public uint MixCount;

        /// <summary>
        /// Reserved/unused.
        /// </summary>
        private unsafe fixed byte _reserved[24];
    }
}