//
// Generated by Brutal.Fmod.Generate; do not edit by hand.
#nullable enable
namespace Brutal.FmodApi
{
///
///
/// Codec wave format.
///
///
/// This structure defines the attributes of a sound, and determines the format of the Sound object when it is
/// created with System::createSound or System::createStream
///
///
/// FMOD_CODEC_WAVEFORMAT
///
///
[StructLayout(LayoutKind.Explicit, Size = 56)]
public unsafe partial struct CodecWaveFormat
{
[FieldOffset(0)]
public byte* Name;
[FieldOffset(8)]
public SoundFormat Format;
[FieldOffset(12)]
public int Channels;
[FieldOffset(16)]
public int Frequency;
[FieldOffset(20)]
public uint LengthBytes;
[FieldOffset(24)]
public uint LengthPcm;
[FieldOffset(28)]
public uint PcmBlockSize;
[FieldOffset(32)]
public int LoopStart;
[FieldOffset(36)]
public int LoopEnd;
[FieldOffset(40)]
public Mode Mode;
[FieldOffset(44)]
public ChannelMask ChannelMask;
[FieldOffset(48)]
public ChannelOrder ChannelOrder;
[FieldOffset(52)]
public float PeakVolume;
}
}