aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Sdk/Audio/Detail/AudioInProtocol.cs
blob: 48785f1c0d2f9d9ad4ec4b2f4e3c88f42b4d520e (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
using Ryujinx.Common.Memory;
using System.Runtime.InteropServices;

namespace Ryujinx.Horizon.Sdk.Audio.Detail
{
    [StructLayout(LayoutKind.Sequential, Size = 0x8, Pack = 0x1)]
    struct AudioInProtocol
    {
        public AudioInProtocolName Name;
        public Array7<byte> Padding;

        public AudioInProtocol(AudioInProtocolName name)
        {
            Name = name;
            Padding = new();
        }

        public override readonly string ToString()
        {
            return Name.ToString();
        }
    }
}