2018-07-15 04:57:41 +02:00
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
2018-08-17 01:47:36 +02:00
|
|
|
namespace Ryujinx.HLE.HOS.Services.Aud.AudioRenderer
|
2018-07-15 04:57:41 +02:00
|
|
|
{
|
|
|
|
[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;
|
|
|
|
}
|
2019-07-14 21:04:38 +02:00
|
|
|
}
|