mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
61 lines
1.5 KiB
C#
61 lines
1.5 KiB
C#
// <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;
|
|
}
|
|
}
|