aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Sdk/Settings/Factory/SpeakerParameter.cs
blob: f147f66ff0386164a26eaafbb70f7d404c5fdbc3 (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
29
30
31
32
using Ryujinx.Common.Memory;
using System.Runtime.InteropServices;

namespace Ryujinx.Horizon.Sdk.Settings.Factory
{
    [StructLayout(LayoutKind.Sequential, Size = 0x5A, Pack = 0x2)]
    struct SpeakerParameter
    {
        public ushort Version;
        public Array34<byte> Reserved;
        public ushort SpeakerHpf2A1;
        public ushort SpeakerHpf2A2;
        public ushort SpeakerHpf2H0;
        public ushort SpeakerEqInputVolume;
        public ushort SpeakerEqOutputVolume;
        public ushort SpeakerEqCtrl1;
        public ushort SpeakerEqCtrl2;
        public ushort SpeakerDrcAgcCtrl2;
        public ushort SpeakerDrcAgcCtrl3;
        public ushort SpeakerDrcAgcCtrl1;
        public ushort SpeakerAnalogVolume;
        public ushort HeadphoneAnalogVolume;
        public ushort SpeakerDigitalVolumeMin;
        public ushort SpeakerDigitalVolumeMax;
        public ushort HeadphoneDigitalVolumeMin;
        public ushort HeadphoneDigitalVolumeMax;
        public ushort MicFixedGain;
        public ushort MicVariableVolumeMin;
        public ushort MicVariableVolumeMax;
        public Array16<byte> Reserved2;
    }
}