mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue