mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
38 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,88 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Advanced configuration settings.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Structure to allow configuration of lesser used system level settings. These tweaks generally allow the user
|
||||
/// to set resource limits and customize settings to better fit their application.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/core-api-system.html#fmod_advancedsettings">FMOD_ADVANCEDSETTINGS</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 104)]
|
||||
public unsafe partial struct AdvancedSettings
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int CbSize;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public int MaxMpegCodecs;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public int MaxAdpcmCodecs;
|
||||
|
||||
[FieldOffset(12)]
|
||||
public int MaxXmaCodecs;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public int MaxVorbisCodecs;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public int MaxAt9Codecs;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public int MaxFadpcmCodecs;
|
||||
|
||||
[FieldOffset(28)]
|
||||
public int MaxOpusCodecs;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public int AsioNumChannels;
|
||||
|
||||
[FieldOffset(40)]
|
||||
public byte** AsioChannelList;
|
||||
|
||||
[FieldOffset(48)]
|
||||
public Speaker* AsioSpeakerList;
|
||||
|
||||
[FieldOffset(56)]
|
||||
public float Vol0VirtualVol;
|
||||
|
||||
[FieldOffset(60)]
|
||||
public uint DefaultDecodeBufferSize;
|
||||
|
||||
[FieldOffset(64)]
|
||||
public ushort ProfilePort;
|
||||
|
||||
[FieldOffset(68)]
|
||||
public uint GeometryMaxFadeTime;
|
||||
|
||||
[FieldOffset(72)]
|
||||
public float DistanceFilterCenterFreq;
|
||||
|
||||
[FieldOffset(76)]
|
||||
public int Reverb3dinstance;
|
||||
|
||||
[FieldOffset(80)]
|
||||
public int DspBufferPoolSize;
|
||||
|
||||
[FieldOffset(84)]
|
||||
public DspResampler ResamplerMethod;
|
||||
|
||||
[FieldOffset(88)]
|
||||
public uint RandomSeed;
|
||||
|
||||
[FieldOffset(92)]
|
||||
public int MaxConvolutionThreads;
|
||||
|
||||
[FieldOffset(96)]
|
||||
public int MaxSpatialObjects;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Information about a single asynchronous file operation.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/core-api-system.html#fmod_asyncreadinfo">FMOD_ASYNCREADINFO</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 56)]
|
||||
public partial struct AsyncReadInfo
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public nint Handle;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public uint Offset;
|
||||
|
||||
[FieldOffset(12)]
|
||||
public uint SizeBytes;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public int Priority;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public nint UserData;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public nint Buffer;
|
||||
|
||||
[FieldOffset(40)]
|
||||
public uint BytesRead;
|
||||
|
||||
[FieldOffset(48)]
|
||||
public FileAsyncDoneFuncPtr Done;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Structure describing a position, velocity and orientation.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/core-api-common.html#fmod_3d_attributes">FMOD_3D_ATTRIBUTES</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 48)]
|
||||
public partial struct Attributes3d
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public float3 Position;
|
||||
|
||||
[FieldOffset(12)]
|
||||
public float3 Velocity;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public float3 Forward;
|
||||
|
||||
[FieldOffset(36)]
|
||||
public float3 Up;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Codec description.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// This description structure allows the plug-in writer to define all functionality required for a user-defined
|
||||
/// codec.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-codec.html#fmod_codec_description">FMOD_CODEC_DESCRIPTION</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 96)]
|
||||
public unsafe partial struct CodecDescription
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public uint ApiVersion;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public byte* Name;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public uint Version;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public int DefaultAsstream;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public TimeUnit TimeUnits;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public CodecOpenCallbackPtr Open;
|
||||
|
||||
[FieldOffset(40)]
|
||||
public CodecCloseCallbackPtr Close;
|
||||
|
||||
[FieldOffset(48)]
|
||||
public CodecReadCallbackPtr Read;
|
||||
|
||||
[FieldOffset(56)]
|
||||
public CodecGetLengthCallbackPtr GetLength;
|
||||
|
||||
[FieldOffset(64)]
|
||||
public CodecSetPositionCallbackPtr SetPosition;
|
||||
|
||||
[FieldOffset(72)]
|
||||
public CodecGetPositionCallbackPtr GetPosition;
|
||||
|
||||
[FieldOffset(80)]
|
||||
public CodecSoundCreateCallbackPtr SoundCreate;
|
||||
|
||||
[FieldOffset(88)]
|
||||
public CodecGetWaveFormatCallbackPtr GetWaveFormat;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Codec state structure that is passed into each callback.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-codec.html#fmod_codec_state">FMOD_CODEC_STATE</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
||||
public unsafe partial struct CodecState
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public nint PluginData;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public CodecWaveFormat* WaveFormat;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public CodecStateFunctions* Functions;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public int NumSubSounds;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Struct containing functions to give plug-in developers the ability to query system state and access system
|
||||
/// level functionality and helpers.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-codec.html#fmod_codec_state_functions">FMOD_CODEC_STATE_FUNCTIONS</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 64)]
|
||||
public partial struct CodecStateFunctions
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public CodecMetadataFuncPtr Metadata;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public CodecAllocFuncPtr Alloc;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public CodecFreeFuncPtr Free;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public CodecLogFuncPtr Log;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public CodecFileReadFuncPtr Read;
|
||||
|
||||
[FieldOffset(40)]
|
||||
public CodecFileSeekFuncPtr Seek;
|
||||
|
||||
[FieldOffset(48)]
|
||||
public CodecFileTellFuncPtr Tell;
|
||||
|
||||
[FieldOffset(56)]
|
||||
public CodecFileSizeFuncPtr Size;
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Complex number structure.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-dsp.html#fmod_complex">FMOD_COMPLEX</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 8)]
|
||||
public partial struct Complex
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public float Real;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public float Imag;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Performance information for Core API functionality.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/core-api-common.html#fmod_cpu_usage">FMOD_CPU_USAGE</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
||||
public partial struct CpuUsage
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public float Dsp;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public float Stream;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public float Geometry;
|
||||
|
||||
[FieldOffset(12)]
|
||||
public float Update;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public float Convolution1;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public float Convolution2;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,126 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Additional options for creating a Sound.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/core-api-system.html#fmod_createsoundexinfo">FMOD_CREATESOUNDEXINFO</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 224)]
|
||||
public unsafe partial struct CreateSoundExInfo
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int CbSize;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public uint Length;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public uint FileOffset;
|
||||
|
||||
[FieldOffset(12)]
|
||||
public int NumChannels;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public int DefaultFrequency;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public SoundFormat Format;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public uint DecodeBufferSize;
|
||||
|
||||
[FieldOffset(28)]
|
||||
public int InitialSubSound;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public int NumSubSounds;
|
||||
|
||||
[FieldOffset(40)]
|
||||
public int* InclusionList;
|
||||
|
||||
[FieldOffset(48)]
|
||||
public int InclusionListNum;
|
||||
|
||||
[FieldOffset(56)]
|
||||
public SoundPcmReadCallbackPtr PcmReadCallback;
|
||||
|
||||
[FieldOffset(64)]
|
||||
public SoundPcmSetPosCallbackPtr PcmSetPosCallback;
|
||||
|
||||
[FieldOffset(72)]
|
||||
public SoundNonBlockCallbackPtr NonBlockCallback;
|
||||
|
||||
[FieldOffset(80)]
|
||||
public byte* DlsName;
|
||||
|
||||
[FieldOffset(88)]
|
||||
public byte* EncryptionKey;
|
||||
|
||||
[FieldOffset(96)]
|
||||
public int MaxPolyphony;
|
||||
|
||||
[FieldOffset(104)]
|
||||
public nint UserData;
|
||||
|
||||
[FieldOffset(112)]
|
||||
public SoundType SuggestedSoundType;
|
||||
|
||||
[FieldOffset(120)]
|
||||
public FileOpenCallbackPtr FileUserOpen;
|
||||
|
||||
[FieldOffset(128)]
|
||||
public FileCloseCallbackPtr FileUserClose;
|
||||
|
||||
[FieldOffset(136)]
|
||||
public FileReadCallbackPtr FileUserRead;
|
||||
|
||||
[FieldOffset(144)]
|
||||
public FileSeekCallbackPtr FileUserSeek;
|
||||
|
||||
[FieldOffset(152)]
|
||||
public FileAsyncReadCallbackPtr FileUserAsyncRead;
|
||||
|
||||
[FieldOffset(160)]
|
||||
public FileAsyncCancelCallbackPtr FileUserAsyncCancel;
|
||||
|
||||
[FieldOffset(168)]
|
||||
public nint FileUserData;
|
||||
|
||||
[FieldOffset(176)]
|
||||
public int FileBufferSize;
|
||||
|
||||
[FieldOffset(180)]
|
||||
public ChannelOrder ChannelOrder;
|
||||
|
||||
[FieldOffset(184)]
|
||||
public SoundGroup InitialSoundGroup;
|
||||
|
||||
[FieldOffset(192)]
|
||||
public uint InitialSeekPosition;
|
||||
|
||||
[FieldOffset(196)]
|
||||
public TimeUnit InitialSeekPosType;
|
||||
|
||||
[FieldOffset(200)]
|
||||
public int IgnoreSetFileSystem;
|
||||
|
||||
[FieldOffset(204)]
|
||||
public uint AudioQueuePolicy;
|
||||
|
||||
[FieldOffset(208)]
|
||||
public uint MinMidiGranularity;
|
||||
|
||||
[FieldOffset(212)]
|
||||
public int NonBlockThreadId;
|
||||
|
||||
[FieldOffset(216)]
|
||||
public Guid* FsbGuid;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Structure for input and output buffers.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-dsp.html#fmod_dsp_buffer_array">FMOD_DSP_BUFFER_ARRAY</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 40)]
|
||||
public unsafe partial struct DspBufferArray
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int NumBuffers;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public int* BufferNumChannels;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public ChannelMask* BufferChannelMask;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public float** Buffers;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public SpeakerMode SpeakerMode;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Describes the value of a DSP's data parameter.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/core-api-dsp.html#fmod_dsp_data_parameter_info">FMOD_DSP_DATA_PARAMETER_INFO</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public partial struct DspDataParameterInfo
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public nint Data;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public uint Length;
|
||||
|
||||
[FieldOffset(12)]
|
||||
public int Index;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,100 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// DSP description.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// This description structure allows you to define all functionality required for a DSP unit when writing a DSP
|
||||
/// plug-in.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-dsp.html#fmod_dsp_description">FMOD_DSP_DESCRIPTION</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 216)]
|
||||
public unsafe partial struct DspDescription
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public uint PluginSdkVersion;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public fixed byte Name[32];
|
||||
|
||||
[FieldOffset(36)]
|
||||
public uint Version;
|
||||
|
||||
[FieldOffset(40)]
|
||||
public int NumInputBuffers;
|
||||
|
||||
[FieldOffset(44)]
|
||||
public int NumOutputBuffers;
|
||||
|
||||
[FieldOffset(48)]
|
||||
public DspCreateCallbackPtr Create;
|
||||
|
||||
[FieldOffset(56)]
|
||||
public DspReleaseCallbackPtr Release;
|
||||
|
||||
[FieldOffset(64)]
|
||||
public DspResetCallbackPtr Reset;
|
||||
|
||||
[FieldOffset(72)]
|
||||
public DspReadCallbackPtr Read;
|
||||
|
||||
[FieldOffset(80)]
|
||||
public DspProcessCallbackPtr Process;
|
||||
|
||||
[FieldOffset(88)]
|
||||
public DspSetPositionCallbackPtr SetPosition;
|
||||
|
||||
[FieldOffset(96)]
|
||||
public int NumParameters;
|
||||
|
||||
[FieldOffset(104)]
|
||||
public DspParameterDesc** ParamDesc;
|
||||
|
||||
[FieldOffset(112)]
|
||||
public DspSetParamFloatCallbackPtr SetParameterFloat;
|
||||
|
||||
[FieldOffset(120)]
|
||||
public DspSetParamIntCallbackPtr SetParameterInt;
|
||||
|
||||
[FieldOffset(128)]
|
||||
public DspSetParamBoolCallbackPtr SetParameterBool;
|
||||
|
||||
[FieldOffset(136)]
|
||||
public DspSetParamDataCallbackPtr SetParameterData;
|
||||
|
||||
[FieldOffset(144)]
|
||||
public DspGetParamFloatCallbackPtr GetParameterFloat;
|
||||
|
||||
[FieldOffset(152)]
|
||||
public DspGetParamIntCallbackPtr GetParameterInt;
|
||||
|
||||
[FieldOffset(160)]
|
||||
public DspGetParamBoolCallbackPtr GetParameterBool;
|
||||
|
||||
[FieldOffset(168)]
|
||||
public DspGetParamDataCallbackPtr GetParameterData;
|
||||
|
||||
[FieldOffset(176)]
|
||||
public DspShouldIProcessCallbackPtr ShouldIProcess;
|
||||
|
||||
[FieldOffset(184)]
|
||||
public nint UserData;
|
||||
|
||||
[FieldOffset(192)]
|
||||
public DspSystemRegisterCallbackPtr SysRegister;
|
||||
|
||||
[FieldOffset(200)]
|
||||
public DspSystemDeregisterCallbackPtr SysDeregister;
|
||||
|
||||
[FieldOffset(208)]
|
||||
public DspSystemMixCallbackPtr SysMix;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Loudness meter information data structure.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/core-api-common-dsp-effects.html#fmod_dsp_loudness_meter_info_type">FMOD_DSP_LOUDNESS_METER_INFO_TYPE</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 292)]
|
||||
public unsafe partial struct DspLoudnessMeterInfoType
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public float MomentaryLoudness;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public float ShortTermLoudness;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public float IntegratedLoudness;
|
||||
|
||||
[FieldOffset(12)]
|
||||
public float Loudness10thPercentile;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public float Loudness95thPercentile;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public fixed float LoudnessHistogram[66];
|
||||
|
||||
[FieldOffset(284)]
|
||||
public float MaxTruePeak;
|
||||
|
||||
[FieldOffset(288)]
|
||||
public float MaxMomentaryLoudness;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Loudness meter channel weighting.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/core-api-common-dsp-effects.html#fmod_dsp_loudness_meter_weighting_type">FMOD_DSP_LOUDNESS_METER_WEIGHTING_TYPE</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 128)]
|
||||
public unsafe partial struct DspLoudnessMeterWeightingType
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public fixed float ChannelWeight[32];
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// DSP metering info.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-dsp.html#fmod_dsp_metering_info">FMOD_DSP_METERING_INFO</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 264)]
|
||||
public unsafe partial struct DspMeteringInfo
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int NumSamples;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public fixed float PeakLevel[32];
|
||||
|
||||
[FieldOffset(132)]
|
||||
public fixed float RmsLevel[32];
|
||||
|
||||
[FieldOffset(260)]
|
||||
public short NumChannels;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 3D attributes data structure.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-dsp.html#fmod_dsp_parameter_3dattributes">FMOD_DSP_PARAMETER_3DATTRIBUTES</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 96)]
|
||||
public partial struct DspParameter3dAttributes
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public Attributes3d Relative;
|
||||
|
||||
[FieldOffset(48)]
|
||||
public Attributes3d Absolute;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Attenuation range parameter data structure.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-dsp.html#fmod_dsp_parameter_attenuation_range">FMOD_DSP_PARAMETER_ATTENUATION_RANGE</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 8)]
|
||||
public partial struct DspParameterAttenuationRange
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public float Min;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public float Max;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Boolean parameter description.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-dsp.html#fmod_dsp_parameter_desc_bool">FMOD_DSP_PARAMETER_DESC_BOOL</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public unsafe partial struct DspParameterDescBool
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public Bool32 DefaultVal;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public byte** ValueNames;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Data parameter description.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-dsp.html#fmod_dsp_parameter_desc_data">FMOD_DSP_PARAMETER_DESC_DATA</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 4)]
|
||||
public partial struct DspParameterDescData
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int DataType;
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue