This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37

View file

@ -0,0 +1,61 @@
// <auto-generated/>
// Generated by Brutal.Fmod.Generate; do not edit by hand.
#nullable enable
namespace Brutal.FmodApi
{
/// <summary>
/// <para>
/// Codec wave format.
/// </para>
/// <para>
/// 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
/// </para>
/// <para>
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-codec.html#fmod_codec_waveformat">FMOD_CODEC_WAVEFORMAT</see>
/// </para>
/// </summary>
[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;
}
}