aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Aud/AudioRenderer/WaveBuffer.cs
blob: bb188877e614cdd3d12e925c000c073607f5743b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.Runtime.InteropServices;

namespace Ryujinx.HLE.HOS.Services.Aud.AudioRenderer
{
    [StructLayout(LayoutKind.Sequential, Size = 0x38, Pack = 1)]
    struct WaveBuffer
    {
        public long  Position;
        public long  Size;
        public int   FirstSampleOffset;
        public int   LastSampleOffset;
        public byte  Looping;
        public byte  LastBuffer;
        public short Unknown1A;
        public int   Unknown1C;
        public long  AdpcmLoopContextPosition;
        public long  AdpcmLoopContextSize;
        public long  Unknown30;
    }
}