aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Audio/Renderer/Parameter/VoiceChannelResourceInParameter.cs
blob: 6a863237d52a7fb58bc90eaa55603b629219dd9e (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 Ryujinx.Common.Memory;
using System.Runtime.InteropServices;

namespace Ryujinx.Audio.Renderer.Parameter
{
    /// <summary>
    /// Input information for a voice channel resources.
    /// </summary>
    [StructLayout(LayoutKind.Sequential, Size = 0x70, Pack = 1)]
    public struct VoiceChannelResourceInParameter
    {
        /// <summary>
        /// The id of the voice channel resource.
        /// </summary>
        public uint Id;

        /// <summary>
        /// Mix volumes for the voice channel resource.
        /// </summary>
        public Array24<float> Mix;

        /// <summary>
        /// Indicate if the voice channel resource is used.
        /// </summary>
        [MarshalAs(UnmanagedType.I1)]
        public bool IsUsed;
    }
}