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