brutal/brutal.fmod/Brutal.Fmod/FmodCoreApi/Generated/PInvokes.gen.cs
2026-10-15 14:12:02 +13:00

1791 lines
83 KiB
C#

// <auto-generated/>
// Generated by Brutal.Fmod.Generate; do not edit by hand.
#nullable enable
namespace Brutal.FmodApi
{
public static partial class Fmod
{
public static unsafe partial class PInvoke
{
[LibraryImport("fmod", EntryPoint = "FMOD5_Memory_Initialize")]
public static partial Result MemoryInitialize(
nint poolMem,
int poolLen,
MemoryAllocCallbackPtr userAlloc,
MemoryReallocCallbackPtr userRealloc,
MemoryFreeCallbackPtr userFree,
MemoryType memTypeFlags
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Memory_GetStats")]
public static partial Result MemoryGetStats(int* currentAlloced, int* maxAlloced, Bool32 blocking);
[LibraryImport("fmod", EntryPoint = "FMOD5_Debug_Initialize")]
public static partial Result DebugInitialize(
DebugFlags flags,
DebugMode mode,
DebugCallbackPtr callback,
byte* fileName
);
[LibraryImport("fmod", EntryPoint = "FMOD5_File_SetDiskBusy")]
public static partial Result FileSetDiskBusy(int busy);
[LibraryImport("fmod", EntryPoint = "FMOD5_File_GetDiskBusy")]
public static partial Result FileGetDiskBusy(int* busy);
[LibraryImport("fmod", EntryPoint = "FMOD5_Thread_SetAttributes")]
public static partial Result ThreadSetAttributes(
ThreadType type,
ThreadAffinity affinity,
ThreadPriority priority,
ThreadStackSize stackSize
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Create")]
public static partial Result SystemCreate(FmodSystem* system, uint headerVersion);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Release")]
public static partial Result SystemRelease(FmodSystem system);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetOutput")]
public static partial Result SystemSetOutput(FmodSystem system, OutputType output);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetOutput")]
public static partial Result SystemGetOutput(FmodSystem system, OutputType* output);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetNumDrivers")]
public static partial Result SystemGetNumDrivers(FmodSystem system, int* numDrivers);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetDriverInfo")]
public static partial Result SystemGetDriverInfo(
FmodSystem system,
int id,
byte* name,
int nameLen,
Guid* guid,
int* systemRate,
SpeakerMode* speakerMode,
int* speakerModeChannels
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetDriver")]
public static partial Result SystemSetDriver(FmodSystem system, int driver);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetDriver")]
public static partial Result SystemGetDriver(FmodSystem system, int* driver);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetSoftwareChannels")]
public static partial Result SystemSetSoftwareChannels(FmodSystem system, int numSoftwareChannels);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetSoftwareChannels")]
public static partial Result SystemGetSoftwareChannels(FmodSystem system, int* numSoftwareChannels);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetSoftwareFormat")]
public static partial Result SystemSetSoftwareFormat(
FmodSystem system,
int sampleRate,
SpeakerMode speakerMode,
int numRawSpeakers
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetSoftwareFormat")]
public static partial Result SystemGetSoftwareFormat(
FmodSystem system,
int* sampleRate,
SpeakerMode* speakerMode,
int* numRawSpeakers
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetDSPBufferSize")]
public static partial Result SystemSetDspBufferSize(FmodSystem system, uint bufferLength, int numBuffers);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetDSPBufferSize")]
public static partial Result SystemGetDspBufferSize(FmodSystem system, uint* bufferLength, int* numBuffers);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetFileSystem")]
public static partial Result SystemSetFileSystem(
FmodSystem system,
FileOpenCallbackPtr userOpen,
FileCloseCallbackPtr userClose,
FileReadCallbackPtr userRead,
FileSeekCallbackPtr userSeek,
FileAsyncReadCallbackPtr userAsyncRead,
FileAsyncCancelCallbackPtr userAsyncCancel,
int blockAlign
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_AttachFileSystem")]
public static partial Result SystemAttachFileSystem(
FmodSystem system,
FileOpenCallbackPtr userOpen,
FileCloseCallbackPtr userClose,
FileReadCallbackPtr userRead,
FileSeekCallbackPtr userSeek
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetAdvancedSettings")]
public static partial Result SystemSetAdvancedSettings(FmodSystem system, AdvancedSettings* settings);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetAdvancedSettings")]
public static partial Result SystemGetAdvancedSettings(FmodSystem system, AdvancedSettings* settings);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetCallback")]
public static partial Result SystemSetCallback(
FmodSystem system,
SystemCallbackPtr callback,
SystemCallbackType callbackMask
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetPluginPath")]
public static partial Result SystemSetPluginPath(FmodSystem system, byte* path);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_LoadPlugin")]
public static partial Result SystemLoadPlugin(
FmodSystem system,
byte* fileName,
uint* handle,
uint priority
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_UnloadPlugin")]
public static partial Result SystemUnloadPlugin(FmodSystem system, uint handle);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetNumNestedPlugins")]
public static partial Result SystemGetNumNestedPlugins(FmodSystem system, uint handle, int* count);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetNestedPlugin")]
public static partial Result SystemGetNestedPlugin(
FmodSystem system,
uint handle,
int index,
uint* nestedHandle
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetNumPlugins")]
public static partial Result SystemGetNumPlugins(FmodSystem system, PluginType pluginType, int* numPlugins);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetPluginHandle")]
public static partial Result SystemGetPluginHandle(
FmodSystem system,
PluginType pluginType,
int index,
uint* handle
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetPluginInfo")]
public static partial Result SystemGetPluginInfo(
FmodSystem system,
uint handle,
PluginType* pluginType,
byte* name,
int nameLen,
uint* version
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetOutputByPlugin")]
public static partial Result SystemSetOutputByPlugin(FmodSystem system, uint handle);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetOutputByPlugin")]
public static partial Result SystemGetOutputByPlugin(FmodSystem system, uint* handle);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_CreateDSPByPlugin")]
public static partial Result SystemCreateDspByPlugin(FmodSystem system, uint handle, Dsp* dsp);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetDSPInfoByPlugin")]
public static partial Result SystemGetDspInfoByPlugin(
FmodSystem system,
uint handle,
DspDescription** description
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_RegisterCodec")]
public static partial Result SystemRegisterCodec(
FmodSystem system,
CodecDescription* description,
uint* handle,
uint priority
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_RegisterDSP")]
public static partial Result SystemRegisterDsp(
FmodSystem system,
DspDescription* description,
uint* handle
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_RegisterOutput")]
public static partial Result SystemRegisterOutput(
FmodSystem system,
OutputDescription* description,
uint* handle
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Init")]
public static partial Result SystemInit(
FmodSystem system,
int maxChannels,
InitFlags flags,
nint extraDriverData
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Close")]
public static partial Result SystemClose(FmodSystem system);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Update")]
public static partial Result SystemUpdate(FmodSystem system);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetSpeakerPosition")]
public static partial Result SystemSetSpeakerPosition(
FmodSystem system,
Speaker speaker,
float x,
float y,
Bool32 active
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetSpeakerPosition")]
public static partial Result SystemGetSpeakerPosition(
FmodSystem system,
Speaker speaker,
float* x,
float* y,
Bool32* active
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetStreamBufferSize")]
public static partial Result SystemSetStreamBufferSize(
FmodSystem system,
uint fileBufferSize,
TimeUnit fileBufferSizeType
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetStreamBufferSize")]
public static partial Result SystemGetStreamBufferSize(
FmodSystem system,
uint* fileBufferSize,
TimeUnit* fileBufferSizeType
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Set3DSettings")]
public static partial Result SystemSet3dSettings(
FmodSystem system,
float dopplerScale,
float distanceFactor,
float rolloffScale
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Get3DSettings")]
public static partial Result SystemGet3dSettings(
FmodSystem system,
float* dopplerScale,
float* distanceFactor,
float* rolloffScale
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Set3DNumListeners")]
public static partial Result SystemSet3dNumListeners(FmodSystem system, int numListeners);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Get3DNumListeners")]
public static partial Result SystemGet3dNumListeners(FmodSystem system, int* numListeners);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Set3DListenerAttributes")]
public static partial Result SystemSet3dListenerAttributes(
FmodSystem system,
int listener,
float3* pos,
float3* vel,
float3* forward,
float3* up
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Get3DListenerAttributes")]
public static partial Result SystemGet3dListenerAttributes(
FmodSystem system,
int listener,
float3* pos,
float3* vel,
float3* forward,
float3* up
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_Set3DRolloffCallback")]
public static partial Result SystemSet3dRolloffCallback(FmodSystem system, Rolloff3dCallbackPtr callback);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_MixerSuspend")]
public static partial Result SystemMixerSuspend(FmodSystem system);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_MixerResume")]
public static partial Result SystemMixerResume(FmodSystem system);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetDefaultMixMatrix")]
public static partial Result SystemGetDefaultMixMatrix(
FmodSystem system,
SpeakerMode sourceSpeakerMode,
SpeakerMode targetSpeakerMode,
float* matrix,
int matrixHop
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetSpeakerModeChannels")]
public static partial Result SystemGetSpeakerModeChannels(
FmodSystem system,
SpeakerMode mode,
int* channels
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetVersion")]
public static partial Result SystemGetVersion(FmodSystem system, uint* version, uint* buildnumber);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetOutputHandle")]
public static partial Result SystemGetOutputHandle(FmodSystem system, nint* handle);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetChannelsPlaying")]
public static partial Result SystemGetChannelsPlaying(FmodSystem system, int* channels, int* realChannels);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetCPUUsage")]
public static partial Result SystemGetCpuUsage(FmodSystem system, CpuUsage* usage);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetFileUsage")]
public static partial Result SystemGetFileUsage(
FmodSystem system,
long* sampleBytesRead,
long* streamBytesRead,
long* otherBytesRead
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_CreateSound")]
public static partial Result SystemCreateSound(
FmodSystem system,
byte* nameOrData,
Mode mode,
CreateSoundExInfo* exInfo,
Sound* sound
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_CreateStream")]
public static partial Result SystemCreateStream(
FmodSystem system,
byte* nameOrData,
Mode mode,
CreateSoundExInfo* exInfo,
Sound* sound
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_CreateDSP")]
public static partial Result SystemCreateDsp(FmodSystem system, DspDescription* description, Dsp* dsp);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_CreateDSPByType")]
public static partial Result SystemCreateDspByType(FmodSystem system, DspType type, Dsp* dsp);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_CreateChannelGroup")]
public static partial Result SystemCreateChannelGroup(
FmodSystem system,
byte* name,
ChannelGroup* channelGroup
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_CreateSoundGroup")]
public static partial Result SystemCreateSoundGroup(FmodSystem system, byte* name, SoundGroup* soundGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_CreateReverb3D")]
public static partial Result SystemCreateReverb3d(FmodSystem system, Reverb3d* reverb);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_PlaySound")]
public static partial Result SystemPlaySound(
FmodSystem system,
Sound sound,
ChannelGroup channelGroup,
Bool32 paused,
Channel* channel
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_PlayDSP")]
public static partial Result SystemPlayDsp(
FmodSystem system,
Dsp dsp,
ChannelGroup channelGroup,
Bool32 paused,
Channel* channel
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetChannel")]
public static partial Result SystemGetChannel(FmodSystem system, int channelId, Channel* channel);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetDSPInfoByType")]
public static partial Result SystemGetDspInfoByType(
FmodSystem system,
DspType type,
DspDescription** description
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetMasterChannelGroup")]
public static partial Result SystemGetMasterChannelGroup(FmodSystem system, ChannelGroup* channelGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetMasterSoundGroup")]
public static partial Result SystemGetMasterSoundGroup(FmodSystem system, SoundGroup* soundGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_AttachChannelGroupToPort")]
public static partial Result SystemAttachChannelGroupToPort(
FmodSystem system,
PortType portType,
PortIndex portIndex,
ChannelGroup channelGroup,
Bool32 passThru
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_DetachChannelGroupFromPort")]
public static partial Result SystemDetachChannelGroupFromPort(FmodSystem system, ChannelGroup channelGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetReverbProperties")]
public static partial Result SystemSetReverbProperties(
FmodSystem system,
int instance,
ReverbProperties* prop
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetReverbProperties")]
public static partial Result SystemGetReverbProperties(
FmodSystem system,
int instance,
ReverbProperties* prop
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_LockDSP")]
public static partial Result SystemLockDsp(FmodSystem system);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_UnlockDSP")]
public static partial Result SystemUnlockDsp(FmodSystem system);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetRecordNumDrivers")]
public static partial Result SystemGetRecordNumDrivers(
FmodSystem system,
int* numDrivers,
int* numConnected
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetRecordDriverInfo")]
public static partial Result SystemGetRecordDriverInfo(
FmodSystem system,
int id,
byte* name,
int nameLen,
Guid* guid,
int* systemRate,
SpeakerMode* speakerMode,
int* speakerModeChannels,
DriverState* state
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetRecordPosition")]
public static partial Result SystemGetRecordPosition(FmodSystem system, int id, uint* position);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_RecordStart")]
public static partial Result SystemRecordStart(FmodSystem system, int id, Sound sound, Bool32 loop);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_RecordStop")]
public static partial Result SystemRecordStop(FmodSystem system, int id);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_IsRecording")]
public static partial Result SystemIsRecording(FmodSystem system, int id, Bool32* recording);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_CreateGeometry")]
public static partial Result SystemCreateGeometry(
FmodSystem system,
int maxPolygons,
int maxVertices,
Geometry* geometry
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetGeometrySettings")]
public static partial Result SystemSetGeometrySettings(FmodSystem system, float maxWorldSize);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetGeometrySettings")]
public static partial Result SystemGetGeometrySettings(FmodSystem system, float* maxWorldSize);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_LoadGeometry")]
public static partial Result SystemLoadGeometry(
FmodSystem system,
void* data,
int dataSize,
Geometry* geometry
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetGeometryOcclusion")]
public static partial Result SystemGetGeometryOcclusion(
FmodSystem system,
float3* listener,
float3* source,
float* direct,
float* reverb
);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetNetworkProxy")]
public static partial Result SystemSetNetworkProxy(FmodSystem system, byte* proxy);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetNetworkProxy")]
public static partial Result SystemGetNetworkProxy(FmodSystem system, byte* proxy, int proxyLen);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetNetworkTimeout")]
public static partial Result SystemSetNetworkTimeout(FmodSystem system, int timeOut);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetNetworkTimeout")]
public static partial Result SystemGetNetworkTimeout(FmodSystem system, int* timeOut);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_SetUserData")]
public static partial Result SystemSetUserData(FmodSystem system, nint userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_System_GetUserData")]
public static partial Result SystemGetUserData(FmodSystem system, nint* userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_Release")]
public static partial Result SoundRelease(Sound sound);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetSystemObject")]
public static partial Result SoundGetSystemObject(Sound sound, FmodSystem* system);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_Lock")]
public static partial Result SoundLock(
Sound sound,
uint offset,
uint length,
nint* ptr1,
nint* ptr2,
uint* len1,
uint* len2
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_Unlock")]
public static partial Result SoundUnlock(Sound sound, nint ptr1, nint ptr2, uint len1, uint len2);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_SetDefaults")]
public static partial Result SoundSetDefaults(Sound sound, float frequency, int priority);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetDefaults")]
public static partial Result SoundGetDefaults(Sound sound, float* frequency, int* priority);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_Set3DMinMaxDistance")]
public static partial Result SoundSet3dMinMaxDistance(Sound sound, float min, float max);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_Get3DMinMaxDistance")]
public static partial Result SoundGet3dMinMaxDistance(Sound sound, float* min, float* max);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_Set3DConeSettings")]
public static partial Result SoundSet3dConeSettings(
Sound sound,
float insideConeAngle,
float outsideConeAngle,
float outsideVolume
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_Get3DConeSettings")]
public static partial Result SoundGet3dConeSettings(
Sound sound,
float* insideConeAngle,
float* outsideConeAngle,
float* outsideVolume
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_Set3DCustomRolloff")]
public static partial Result SoundSet3dCustomRolloff(Sound sound, float3* points, int numPoints);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_Get3DCustomRolloff")]
public static partial Result SoundGet3dCustomRolloff(Sound sound, float3** points, int* numPoints);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetSubSound")]
public static partial Result SoundGetSubSound(Sound sound, int index, Sound* subSound);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetSubSoundParent")]
public static partial Result SoundGetSubSoundParent(Sound sound, Sound* parentSound);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetName")]
public static partial Result SoundGetName(Sound sound, byte* name, int nameLen);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetLength")]
public static partial Result SoundGetLength(Sound sound, uint* length, TimeUnit lengthType);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetFormat")]
public static partial Result SoundGetFormat(
Sound sound,
SoundType* type,
SoundFormat* format,
int* channels,
int* bits
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetNumSubSounds")]
public static partial Result SoundGetNumSubSounds(Sound sound, int* numSubSounds);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetNumTags")]
public static partial Result SoundGetNumTags(Sound sound, int* numTags, int* numTagsUpdated);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetTag")]
public static partial Result SoundGetTag(Sound sound, byte* name, int index, Tag* tag);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetOpenState")]
public static partial Result SoundGetOpenState(
Sound sound,
OpenState* openState,
uint* percentBuffered,
Bool32* starving,
Bool32* diskBusy
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_ReadData")]
public static partial Result SoundReadData(Sound sound, nint buffer, uint length, uint* read);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_SeekData")]
public static partial Result SoundSeekData(Sound sound, uint pcm);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_SetSoundGroup")]
public static partial Result SoundSetSoundGroup(Sound sound, SoundGroup soundGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetSoundGroup")]
public static partial Result SoundGetSoundGroup(Sound sound, SoundGroup* soundGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetNumSyncPoints")]
public static partial Result SoundGetNumSyncPoints(Sound sound, int* numSyncPoints);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetSyncPoint")]
public static partial Result SoundGetSyncPoint(Sound sound, int index, SyncPoint* point);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetSyncPointInfo")]
public static partial Result SoundGetSyncPointInfo(
Sound sound,
SyncPoint point,
byte* name,
int nameLen,
uint* offset,
TimeUnit offsetType
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_AddSyncPoint")]
public static partial Result SoundAddSyncPoint(
Sound sound,
uint offset,
TimeUnit offsetType,
byte* name,
SyncPoint* point
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_DeleteSyncPoint")]
public static partial Result SoundDeleteSyncPoint(Sound sound, SyncPoint point);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_SetMode")]
public static partial Result SoundSetMode(Sound sound, Mode mode);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetMode")]
public static partial Result SoundGetMode(Sound sound, Mode* mode);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_SetLoopCount")]
public static partial Result SoundSetLoopCount(Sound sound, int loopCount);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetLoopCount")]
public static partial Result SoundGetLoopCount(Sound sound, int* loopCount);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_SetLoopPoints")]
public static partial Result SoundSetLoopPoints(
Sound sound,
uint loopStart,
TimeUnit loopStartType,
uint loopEnd,
TimeUnit loopEndType
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetLoopPoints")]
public static partial Result SoundGetLoopPoints(
Sound sound,
uint* loopStart,
TimeUnit loopStartType,
uint* loopEnd,
TimeUnit loopEndType
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetMusicNumChannels")]
public static partial Result SoundGetMusicNumChannels(Sound sound, int* numChannels);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_SetMusicChannelVolume")]
public static partial Result SoundSetMusicChannelVolume(Sound sound, int channel, float volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetMusicChannelVolume")]
public static partial Result SoundGetMusicChannelVolume(Sound sound, int channel, float* volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_SetMusicSpeed")]
public static partial Result SoundSetMusicSpeed(Sound sound, float speed);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetMusicSpeed")]
public static partial Result SoundGetMusicSpeed(Sound sound, float* speed);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_SetUserData")]
public static partial Result SoundSetUserData(Sound sound, nint userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_Sound_GetUserData")]
public static partial Result SoundGetUserData(Sound sound, nint* userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetSystemObject")]
public static partial Result ChannelGetSystemObject(Channel channel, FmodSystem* system);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Stop")]
public static partial Result ChannelStop(Channel channel);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetPaused")]
public static partial Result ChannelSetPaused(Channel channel, Bool32 paused);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetPaused")]
public static partial Result ChannelGetPaused(Channel channel, Bool32* paused);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetVolume")]
public static partial Result ChannelSetVolume(Channel channel, float volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetVolume")]
public static partial Result ChannelGetVolume(Channel channel, float* volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetVolumeRamp")]
public static partial Result ChannelSetVolumeRamp(Channel channel, Bool32 ramp);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetVolumeRamp")]
public static partial Result ChannelGetVolumeRamp(Channel channel, Bool32* ramp);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetAudibility")]
public static partial Result ChannelGetAudibility(Channel channel, float* audibility);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetPitch")]
public static partial Result ChannelSetPitch(Channel channel, float pitch);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetPitch")]
public static partial Result ChannelGetPitch(Channel channel, float* pitch);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetMute")]
public static partial Result ChannelSetMute(Channel channel, Bool32 mute);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetMute")]
public static partial Result ChannelGetMute(Channel channel, Bool32* mute);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetReverbProperties")]
public static partial Result ChannelSetReverbProperties(Channel channel, int instance, float wet);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetReverbProperties")]
public static partial Result ChannelGetReverbProperties(Channel channel, int instance, float* wet);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetLowPassGain")]
public static partial Result ChannelSetLowPassGain(Channel channel, float gain);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetLowPassGain")]
public static partial Result ChannelGetLowPassGain(Channel channel, float* gain);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetMode")]
public static partial Result ChannelSetMode(Channel channel, Mode mode);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetMode")]
public static partial Result ChannelGetMode(Channel channel, Mode* mode);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetCallback")]
public static partial Result ChannelSetCallback(Channel channel, ChannelControlCallbackPtr callback);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_IsPlaying")]
public static partial Result ChannelIsPlaying(Channel channel, Bool32* isPlaying);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetPan")]
public static partial Result ChannelSetPan(Channel channel, float pan);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetMixLevelsOutput")]
public static partial Result ChannelSetMixLevelsOutput(
Channel channel,
float frontLeft,
float frontRight,
float center,
float lfe,
float surroundLeft,
float surroundRight,
float backLeft,
float backRight
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetMixLevelsInput")]
public static partial Result ChannelSetMixLevelsInput(Channel channel, float* levels, int numLevels);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetMixMatrix")]
public static partial Result ChannelSetMixMatrix(
Channel channel,
float* matrix,
int outChannels,
int inChannels,
int inChannelHop
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetMixMatrix")]
public static partial Result ChannelGetMixMatrix(
Channel channel,
float* matrix,
int* outChannels,
int* inChannels,
int inChannelHop
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetDSPClock")]
public static partial Result ChannelGetDspClock(Channel channel, ulong* dspClock, ulong* parentClock);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetDelay")]
public static partial Result ChannelSetDelay(
Channel channel,
ulong dspClockStart,
ulong dspClockEnd,
Bool32 stopChannels
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetDelay")]
public static partial Result ChannelGetDelay(
Channel channel,
ulong* dspClockStart,
ulong* dspClockEnd,
Bool32* stopChannels
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_AddFadePoint")]
public static partial Result ChannelAddFadePoint(Channel channel, ulong dspClock, float volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetFadePointRamp")]
public static partial Result ChannelSetFadePointRamp(Channel channel, ulong dspClock, float volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_RemoveFadePoints")]
public static partial Result ChannelRemoveFadePoints(
Channel channel,
ulong dspClockStart,
ulong dspClockEnd
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetFadePoints")]
public static partial Result ChannelGetFadePoints(
Channel channel,
uint* numPoints,
ulong* pointDspClock,
float* pointVolume
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetDSP")]
public static partial Result ChannelGetDsp(Channel channel, int index, Dsp* dsp);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_AddDSP")]
public static partial Result ChannelAddDsp(Channel channel, int index, Dsp dsp);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_RemoveDSP")]
public static partial Result ChannelRemoveDsp(Channel channel, Dsp dsp);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetNumDSPs")]
public static partial Result ChannelGetNumDsps(Channel channel, int* numDsps);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetDSPIndex")]
public static partial Result ChannelSetDspIndex(Channel channel, Dsp dsp, int index);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetDSPIndex")]
public static partial Result ChannelGetDspIndex(Channel channel, Dsp dsp, int* index);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Set3DAttributes")]
public static partial Result ChannelSet3dAttributes(Channel channel, float3* pos, float3* vel);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Get3DAttributes")]
public static partial Result ChannelGet3dAttributes(Channel channel, float3* pos, float3* vel);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Set3DMinMaxDistance")]
public static partial Result ChannelSet3dMinMaxDistance(
Channel channel,
float minDistance,
float maxDistance
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Get3DMinMaxDistance")]
public static partial Result ChannelGet3dMinMaxDistance(
Channel channel,
float* minDistance,
float* maxDistance
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Set3DConeSettings")]
public static partial Result ChannelSet3dConeSettings(
Channel channel,
float insideConeAngle,
float outsideConeAngle,
float outsideVolume
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Get3DConeSettings")]
public static partial Result ChannelGet3dConeSettings(
Channel channel,
float* insideConeAngle,
float* outsideConeAngle,
float* outsideVolume
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Set3DConeOrientation")]
public static partial Result ChannelSet3dConeOrientation(Channel channel, float3* orientation);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Get3DConeOrientation")]
public static partial Result ChannelGet3dConeOrientation(Channel channel, float3* orientation);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Set3DCustomRolloff")]
public static partial Result ChannelSet3dCustomRolloff(Channel channel, float3* points, int numPoints);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Get3DCustomRolloff")]
public static partial Result ChannelGet3dCustomRolloff(Channel channel, float3** points, int* numPoints);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Set3DOcclusion")]
public static partial Result ChannelSet3dOcclusion(
Channel channel,
float directOcclusion,
float reverbOcclusion
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Get3DOcclusion")]
public static partial Result ChannelGet3dOcclusion(
Channel channel,
float* directOcclusion,
float* reverbOcclusion
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Set3DSpread")]
public static partial Result ChannelSet3dSpread(Channel channel, float angle);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Get3DSpread")]
public static partial Result ChannelGet3dSpread(Channel channel, float* angle);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Set3DLevel")]
public static partial Result ChannelSet3dLevel(Channel channel, float level);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Get3DLevel")]
public static partial Result ChannelGet3dLevel(Channel channel, float* level);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Set3DDopplerLevel")]
public static partial Result ChannelSet3dDopplerLevel(Channel channel, float level);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Get3DDopplerLevel")]
public static partial Result ChannelGet3dDopplerLevel(Channel channel, float* level);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Set3DDistanceFilter")]
public static partial Result ChannelSet3dDistanceFilter(
Channel channel,
Bool32 custom,
float customLevel,
float centerFreq
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_Get3DDistanceFilter")]
public static partial Result ChannelGet3dDistanceFilter(
Channel channel,
Bool32* custom,
float* customLevel,
float* centerFreq
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetUserData")]
public static partial Result ChannelSetUserData(Channel channel, nint userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetUserData")]
public static partial Result ChannelGetUserData(Channel channel, nint* userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetFrequency")]
public static partial Result ChannelSetFrequency(Channel channel, float frequency);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetFrequency")]
public static partial Result ChannelGetFrequency(Channel channel, float* frequency);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetPriority")]
public static partial Result ChannelSetPriority(Channel channel, int priority);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetPriority")]
public static partial Result ChannelGetPriority(Channel channel, int* priority);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetPosition")]
public static partial Result ChannelSetPosition(Channel channel, uint position, TimeUnit posType);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetPosition")]
public static partial Result ChannelGetPosition(Channel channel, uint* position, TimeUnit posType);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetChannelGroup")]
public static partial Result ChannelSetChannelGroup(Channel channel, ChannelGroup channelGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetChannelGroup")]
public static partial Result ChannelGetChannelGroup(Channel channel, ChannelGroup* channelGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetLoopCount")]
public static partial Result ChannelSetLoopCount(Channel channel, int loopCount);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetLoopCount")]
public static partial Result ChannelGetLoopCount(Channel channel, int* loopCount);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_SetLoopPoints")]
public static partial Result ChannelSetLoopPoints(
Channel channel,
uint loopStart,
TimeUnit loopStartType,
uint loopEnd,
TimeUnit loopEndType
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetLoopPoints")]
public static partial Result ChannelGetLoopPoints(
Channel channel,
uint* loopStart,
TimeUnit loopStartType,
uint* loopEnd,
TimeUnit loopEndType
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_IsVirtual")]
public static partial Result ChannelIsVirtual(Channel channel, Bool32* isVirtual);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetCurrentSound")]
public static partial Result ChannelGetCurrentSound(Channel channel, Sound* sound);
[LibraryImport("fmod", EntryPoint = "FMOD5_Channel_GetIndex")]
public static partial Result ChannelGetIndex(Channel channel, int* index);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetSystemObject")]
public static partial Result ChannelGroupGetSystemObject(ChannelGroup channelGroup, FmodSystem* system);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Stop")]
public static partial Result ChannelGroupStop(ChannelGroup channelGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetPaused")]
public static partial Result ChannelGroupSetPaused(ChannelGroup channelGroup, Bool32 paused);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetPaused")]
public static partial Result ChannelGroupGetPaused(ChannelGroup channelGroup, Bool32* paused);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetVolume")]
public static partial Result ChannelGroupSetVolume(ChannelGroup channelGroup, float volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetVolume")]
public static partial Result ChannelGroupGetVolume(ChannelGroup channelGroup, float* volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetVolumeRamp")]
public static partial Result ChannelGroupSetVolumeRamp(ChannelGroup channelGroup, Bool32 ramp);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetVolumeRamp")]
public static partial Result ChannelGroupGetVolumeRamp(ChannelGroup channelGroup, Bool32* ramp);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetAudibility")]
public static partial Result ChannelGroupGetAudibility(ChannelGroup channelGroup, float* audibility);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetPitch")]
public static partial Result ChannelGroupSetPitch(ChannelGroup channelGroup, float pitch);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetPitch")]
public static partial Result ChannelGroupGetPitch(ChannelGroup channelGroup, float* pitch);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetMute")]
public static partial Result ChannelGroupSetMute(ChannelGroup channelGroup, Bool32 mute);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetMute")]
public static partial Result ChannelGroupGetMute(ChannelGroup channelGroup, Bool32* mute);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetReverbProperties")]
public static partial Result ChannelGroupSetReverbProperties(
ChannelGroup channelGroup,
int instance,
float wet
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetReverbProperties")]
public static partial Result ChannelGroupGetReverbProperties(
ChannelGroup channelGroup,
int instance,
float* wet
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetLowPassGain")]
public static partial Result ChannelGroupSetLowPassGain(ChannelGroup channelGroup, float gain);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetLowPassGain")]
public static partial Result ChannelGroupGetLowPassGain(ChannelGroup channelGroup, float* gain);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetMode")]
public static partial Result ChannelGroupSetMode(ChannelGroup channelGroup, Mode mode);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetMode")]
public static partial Result ChannelGroupGetMode(ChannelGroup channelGroup, Mode* mode);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetCallback")]
public static partial Result ChannelGroupSetCallback(
ChannelGroup channelGroup,
ChannelControlCallbackPtr callback
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_IsPlaying")]
public static partial Result ChannelGroupIsPlaying(ChannelGroup channelGroup, Bool32* isPlaying);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetPan")]
public static partial Result ChannelGroupSetPan(ChannelGroup channelGroup, float pan);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetMixLevelsOutput")]
public static partial Result ChannelGroupSetMixLevelsOutput(
ChannelGroup channelGroup,
float frontLeft,
float frontRight,
float center,
float lfe,
float surroundLeft,
float surroundRight,
float backLeft,
float backRight
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetMixLevelsInput")]
public static partial Result ChannelGroupSetMixLevelsInput(
ChannelGroup channelGroup,
float* levels,
int numLevels
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetMixMatrix")]
public static partial Result ChannelGroupSetMixMatrix(
ChannelGroup channelGroup,
float* matrix,
int outChannels,
int inChannels,
int inChannelHop
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetMixMatrix")]
public static partial Result ChannelGroupGetMixMatrix(
ChannelGroup channelGroup,
float* matrix,
int* outChannels,
int* inChannels,
int inChannelHop
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetDSPClock")]
public static partial Result ChannelGroupGetDspClock(
ChannelGroup channelGroup,
ulong* dspClock,
ulong* parentClock
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetDelay")]
public static partial Result ChannelGroupSetDelay(
ChannelGroup channelGroup,
ulong dspClockStart,
ulong dspClockEnd,
Bool32 stopChannels
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetDelay")]
public static partial Result ChannelGroupGetDelay(
ChannelGroup channelGroup,
ulong* dspClockStart,
ulong* dspClockEnd,
Bool32* stopChannels
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_AddFadePoint")]
public static partial Result ChannelGroupAddFadePoint(
ChannelGroup channelGroup,
ulong dspClock,
float volume
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetFadePointRamp")]
public static partial Result ChannelGroupSetFadePointRamp(
ChannelGroup channelGroup,
ulong dspClock,
float volume
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_RemoveFadePoints")]
public static partial Result ChannelGroupRemoveFadePoints(
ChannelGroup channelGroup,
ulong dspClockStart,
ulong dspClockEnd
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetFadePoints")]
public static partial Result ChannelGroupGetFadePoints(
ChannelGroup channelGroup,
uint* numPoints,
ulong* pointDspClock,
float* pointVolume
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetDSP")]
public static partial Result ChannelGroupGetDsp(ChannelGroup channelGroup, int index, Dsp* dsp);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_AddDSP")]
public static partial Result ChannelGroupAddDsp(ChannelGroup channelGroup, int index, Dsp dsp);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_RemoveDSP")]
public static partial Result ChannelGroupRemoveDsp(ChannelGroup channelGroup, Dsp dsp);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetNumDSPs")]
public static partial Result ChannelGroupGetNumDsps(ChannelGroup channelGroup, int* numDsps);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetDSPIndex")]
public static partial Result ChannelGroupSetDspIndex(ChannelGroup channelGroup, Dsp dsp, int index);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetDSPIndex")]
public static partial Result ChannelGroupGetDspIndex(ChannelGroup channelGroup, Dsp dsp, int* index);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Set3DAttributes")]
public static partial Result ChannelGroupSet3dAttributes(
ChannelGroup channelGroup,
float3* pos,
float3* vel
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Get3DAttributes")]
public static partial Result ChannelGroupGet3dAttributes(
ChannelGroup channelGroup,
float3* pos,
float3* vel
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Set3DMinMaxDistance")]
public static partial Result ChannelGroupSet3dMinMaxDistance(
ChannelGroup channelGroup,
float minDistance,
float maxDistance
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Get3DMinMaxDistance")]
public static partial Result ChannelGroupGet3dMinMaxDistance(
ChannelGroup channelGroup,
float* minDistance,
float* maxDistance
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Set3DConeSettings")]
public static partial Result ChannelGroupSet3dConeSettings(
ChannelGroup channelGroup,
float insideConeAngle,
float outsideConeAngle,
float outsideVolume
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Get3DConeSettings")]
public static partial Result ChannelGroupGet3dConeSettings(
ChannelGroup channelGroup,
float* insideConeAngle,
float* outsideConeAngle,
float* outsideVolume
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Set3DConeOrientation")]
public static partial Result ChannelGroupSet3dConeOrientation(
ChannelGroup channelGroup,
float3* orientation
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Get3DConeOrientation")]
public static partial Result ChannelGroupGet3dConeOrientation(
ChannelGroup channelGroup,
float3* orientation
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Set3DCustomRolloff")]
public static partial Result ChannelGroupSet3dCustomRolloff(
ChannelGroup channelGroup,
float3* points,
int numPoints
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Get3DCustomRolloff")]
public static partial Result ChannelGroupGet3dCustomRolloff(
ChannelGroup channelGroup,
float3** points,
int* numPoints
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Set3DOcclusion")]
public static partial Result ChannelGroupSet3dOcclusion(
ChannelGroup channelGroup,
float directOcclusion,
float reverbOcclusion
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Get3DOcclusion")]
public static partial Result ChannelGroupGet3dOcclusion(
ChannelGroup channelGroup,
float* directOcclusion,
float* reverbOcclusion
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Set3DSpread")]
public static partial Result ChannelGroupSet3dSpread(ChannelGroup channelGroup, float angle);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Get3DSpread")]
public static partial Result ChannelGroupGet3dSpread(ChannelGroup channelGroup, float* angle);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Set3DLevel")]
public static partial Result ChannelGroupSet3dLevel(ChannelGroup channelGroup, float level);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Get3DLevel")]
public static partial Result ChannelGroupGet3dLevel(ChannelGroup channelGroup, float* level);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Set3DDopplerLevel")]
public static partial Result ChannelGroupSet3dDopplerLevel(ChannelGroup channelGroup, float level);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Get3DDopplerLevel")]
public static partial Result ChannelGroupGet3dDopplerLevel(ChannelGroup channelGroup, float* level);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Set3DDistanceFilter")]
public static partial Result ChannelGroupSet3dDistanceFilter(
ChannelGroup channelGroup,
Bool32 custom,
float customLevel,
float centerFreq
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Get3DDistanceFilter")]
public static partial Result ChannelGroupGet3dDistanceFilter(
ChannelGroup channelGroup,
Bool32* custom,
float* customLevel,
float* centerFreq
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_SetUserData")]
public static partial Result ChannelGroupSetUserData(ChannelGroup channelGroup, nint userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetUserData")]
public static partial Result ChannelGroupGetUserData(ChannelGroup channelGroup, nint* userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_Release")]
public static partial Result ChannelGroupRelease(ChannelGroup channelGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_AddGroup")]
public static partial Result ChannelGroupAddGroup(
ChannelGroup channelGroup,
ChannelGroup group,
Bool32 propagateDspClock,
DspConnection* connection
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetNumGroups")]
public static partial Result ChannelGroupGetNumGroups(ChannelGroup channelGroup, int* numGroups);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetGroup")]
public static partial Result ChannelGroupGetGroup(
ChannelGroup channelGroup,
int index,
ChannelGroup* group
);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetParentGroup")]
public static partial Result ChannelGroupGetParentGroup(ChannelGroup channelGroup, ChannelGroup* group);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetName")]
public static partial Result ChannelGroupGetName(ChannelGroup channelGroup, byte* name, int nameLen);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetNumChannels")]
public static partial Result ChannelGroupGetNumChannels(ChannelGroup channelGroup, int* numChannels);
[LibraryImport("fmod", EntryPoint = "FMOD5_ChannelGroup_GetChannel")]
public static partial Result ChannelGroupGetChannel(ChannelGroup channelGroup, int index, Channel* channel);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_Release")]
public static partial Result SoundGroupRelease(SoundGroup soundGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_GetSystemObject")]
public static partial Result SoundGroupGetSystemObject(SoundGroup soundGroup, FmodSystem* system);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_SetMaxAudible")]
public static partial Result SoundGroupSetMaxAudible(SoundGroup soundGroup, int maxAudible);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_GetMaxAudible")]
public static partial Result SoundGroupGetMaxAudible(SoundGroup soundGroup, int* maxAudible);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_SetMaxAudibleBehavior")]
public static partial Result SoundGroupSetMaxAudibleBehavior(
SoundGroup soundGroup,
SoundGroupBehavior behavior
);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_GetMaxAudibleBehavior")]
public static partial Result SoundGroupGetMaxAudibleBehavior(
SoundGroup soundGroup,
SoundGroupBehavior* behavior
);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_SetMuteFadeSpeed")]
public static partial Result SoundGroupSetMuteFadeSpeed(SoundGroup soundGroup, float speed);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_GetMuteFadeSpeed")]
public static partial Result SoundGroupGetMuteFadeSpeed(SoundGroup soundGroup, float* speed);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_SetVolume")]
public static partial Result SoundGroupSetVolume(SoundGroup soundGroup, float volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_GetVolume")]
public static partial Result SoundGroupGetVolume(SoundGroup soundGroup, float* volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_Stop")]
public static partial Result SoundGroupStop(SoundGroup soundGroup);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_GetName")]
public static partial Result SoundGroupGetName(SoundGroup soundGroup, byte* name, int nameLen);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_GetNumSounds")]
public static partial Result SoundGroupGetNumSounds(SoundGroup soundGroup, int* numSounds);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_GetSound")]
public static partial Result SoundGroupGetSound(SoundGroup soundGroup, int index, Sound* sound);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_GetNumPlaying")]
public static partial Result SoundGroupGetNumPlaying(SoundGroup soundGroup, int* numPlaying);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_SetUserData")]
public static partial Result SoundGroupSetUserData(SoundGroup soundGroup, nint userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_SoundGroup_GetUserData")]
public static partial Result SoundGroupGetUserData(SoundGroup soundGroup, nint* userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_Release")]
public static partial Result DspRelease(Dsp dsp);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetSystemObject")]
public static partial Result DspGetSystemObject(Dsp dsp, FmodSystem* system);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_AddInput")]
public static partial Result DspAddInput(
Dsp dsp,
Dsp input,
DspConnection* connection,
DspConnectionType type
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_DisconnectFrom")]
public static partial Result DspDisconnectFrom(Dsp dsp, Dsp target, DspConnection connection);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_DisconnectAll")]
public static partial Result DspDisconnectAll(Dsp dsp, Bool32 inputS, Bool32 outputS);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetNumInputs")]
public static partial Result DspGetNumInputs(Dsp dsp, int* numInputS);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetNumOutputs")]
public static partial Result DspGetNumOutputs(Dsp dsp, int* numOutputS);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetInput")]
public static partial Result DspGetInput(Dsp dsp, int index, Dsp* input, DspConnection* inputConnection);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetOutput")]
public static partial Result DspGetOutput(Dsp dsp, int index, Dsp* output, DspConnection* outputConnection);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_SetActive")]
public static partial Result DspSetActive(Dsp dsp, Bool32 active);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetActive")]
public static partial Result DspGetActive(Dsp dsp, Bool32* active);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_SetBypass")]
public static partial Result DspSetBypass(Dsp dsp, Bool32 bypass);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetBypass")]
public static partial Result DspGetBypass(Dsp dsp, Bool32* bypass);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_SetWetDryMix")]
public static partial Result DspSetWetDryMix(Dsp dsp, float preWet, float postWet, float dry);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetWetDryMix")]
public static partial Result DspGetWetDryMix(Dsp dsp, float* preWet, float* postWet, float* dry);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_SetChannelFormat")]
public static partial Result DspSetChannelFormat(
Dsp dsp,
ChannelMask channelMask,
int numChannels,
SpeakerMode sourceSpeakerMode
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetChannelFormat")]
public static partial Result DspGetChannelFormat(
Dsp dsp,
ChannelMask* channelMask,
int* numChannels,
SpeakerMode* sourceSpeakerMode
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetOutputChannelFormat")]
public static partial Result DspGetOutputChannelFormat(
Dsp dsp,
ChannelMask inMask,
int inChannels,
SpeakerMode inSpeakerMode,
ChannelMask* outMask,
int* outChannels,
SpeakerMode* outSpeakerMode
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_Reset")]
public static partial Result DspReset(Dsp dsp);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_SetCallback")]
public static partial Result DspSetCallback(Dsp dsp, DspCallbackPtr callback);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_SetParameterFloat")]
public static partial Result DspSetParameterFloat(Dsp dsp, int index, float value);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_SetParameterInt")]
public static partial Result DspSetParameterInt(Dsp dsp, int index, int value);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_SetParameterBool")]
public static partial Result DspSetParameterBool(Dsp dsp, int index, Bool32 value);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_SetParameterData")]
public static partial Result DspSetParameterData(Dsp dsp, int index, nint data, uint length);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetParameterFloat")]
public static partial Result DspGetParameterFloat(
Dsp dsp,
int index,
float* value,
byte* valuesTr,
int valuesTrlen
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetParameterInt")]
public static partial Result DspGetParameterInt(
Dsp dsp,
int index,
int* value,
byte* valuesTr,
int valuesTrlen
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetParameterBool")]
public static partial Result DspGetParameterBool(
Dsp dsp,
int index,
Bool32* value,
byte* valuesTr,
int valuesTrlen
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetParameterData")]
public static partial Result DspGetParameterData(
Dsp dsp,
int index,
nint* data,
uint* length,
byte* valuesTr,
int valuesTrlen
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetNumParameters")]
public static partial Result DspGetNumParameters(Dsp dsp, int* numParams);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetParameterInfo")]
public static partial Result DspGetParameterInfo(Dsp dsp, int index, DspParameterDesc** desc);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetDataParameterIndex")]
public static partial Result DspGetDataParameterIndex(Dsp dsp, int dataType, int* index);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_ShowConfigDialog")]
public static partial Result DspShowConfigDialog(Dsp dsp, nint hwnd, Bool32 show);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetInfo")]
public static partial Result DspGetInfo(
Dsp dsp,
byte* name,
uint* version,
int* channels,
int* configWidth,
int* configHeight
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetType")]
public static partial Result DspGetType(Dsp dsp, DspType* type);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetIdle")]
public static partial Result DspGetIdle(Dsp dsp, Bool32* idle);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_SetUserData")]
public static partial Result DspSetUserData(Dsp dsp, nint userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetUserData")]
public static partial Result DspGetUserData(Dsp dsp, nint* userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_SetMeteringEnabled")]
public static partial Result DspSetMeteringEnabled(Dsp dsp, Bool32 inputEnabled, Bool32 outputEnabled);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetMeteringEnabled")]
public static partial Result DspGetMeteringEnabled(Dsp dsp, Bool32* inputEnabled, Bool32* outputEnabled);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetMeteringInfo")]
public static partial Result DspGetMeteringInfo(
Dsp dsp,
DspMeteringInfo* inputInfo,
DspMeteringInfo* outputInfo
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSP_GetCPUUsage")]
public static partial Result DspGetCpuUsage(Dsp dsp, uint* exclusive, uint* inclusive);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSPConnection_GetInput")]
public static partial Result DspConnectionGetInput(DspConnection dspConnection, Dsp* input);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSPConnection_GetOutput")]
public static partial Result DspConnectionGetOutput(DspConnection dspConnection, Dsp* output);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSPConnection_SetMix")]
public static partial Result DspConnectionSetMix(DspConnection dspConnection, float volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSPConnection_GetMix")]
public static partial Result DspConnectionGetMix(DspConnection dspConnection, float* volume);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSPConnection_SetMixMatrix")]
public static partial Result DspConnectionSetMixMatrix(
DspConnection dspConnection,
float* matrix,
int outChannels,
int inChannels,
int inChannelHop
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSPConnection_GetMixMatrix")]
public static partial Result DspConnectionGetMixMatrix(
DspConnection dspConnection,
float* matrix,
int* outChannels,
int* inChannels,
int inChannelHop
);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSPConnection_GetType")]
public static partial Result DspConnectionGetType(DspConnection dspConnection, DspConnectionType* type);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSPConnection_SetUserData")]
public static partial Result DspConnectionSetUserData(DspConnection dspConnection, nint userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_DSPConnection_GetUserData")]
public static partial Result DspConnectionGetUserData(DspConnection dspConnection, nint* userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_Release")]
public static partial Result GeometryRelease(Geometry geometry);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_AddPolygon")]
public static partial Result GeometryAddPolygon(
Geometry geometry,
float directOcclusion,
float reverbOcclusion,
Bool32 doubleSided,
int numVertices,
float3* vertices,
int* polygonIndex
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_GetNumPolygons")]
public static partial Result GeometryGetNumPolygons(Geometry geometry, int* numPolygons);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_GetMaxPolygons")]
public static partial Result GeometryGetMaxPolygons(Geometry geometry, int* maxPolygons, int* maxVertices);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_GetPolygonNumVertices")]
public static partial Result GeometryGetPolygonNumVertices(Geometry geometry, int index, int* numVertices);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_SetPolygonVertex")]
public static partial Result GeometrySetPolygonVertex(
Geometry geometry,
int index,
int vertexIndex,
float3* vertex
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_GetPolygonVertex")]
public static partial Result GeometryGetPolygonVertex(
Geometry geometry,
int index,
int vertexIndex,
float3* vertex
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_SetPolygonAttributes")]
public static partial Result GeometrySetPolygonAttributes(
Geometry geometry,
int index,
float directOcclusion,
float reverbOcclusion,
Bool32 doubleSided
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_GetPolygonAttributes")]
public static partial Result GeometryGetPolygonAttributes(
Geometry geometry,
int index,
float* directOcclusion,
float* reverbOcclusion,
Bool32* doubleSided
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_SetActive")]
public static partial Result GeometrySetActive(Geometry geometry, Bool32 active);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_GetActive")]
public static partial Result GeometryGetActive(Geometry geometry, Bool32* active);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_SetRotation")]
public static partial Result GeometrySetRotation(Geometry geometry, float3* forward, float3* up);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_GetRotation")]
public static partial Result GeometryGetRotation(Geometry geometry, float3* forward, float3* up);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_SetPosition")]
public static partial Result GeometrySetPosition(Geometry geometry, float3* position);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_GetPosition")]
public static partial Result GeometryGetPosition(Geometry geometry, float3* position);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_SetScale")]
public static partial Result GeometrySetScale(Geometry geometry, float3* scale);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_GetScale")]
public static partial Result GeometryGetScale(Geometry geometry, float3* scale);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_Save")]
public static partial Result GeometrySave(Geometry geometry, nint data, int* dataSize);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_SetUserData")]
public static partial Result GeometrySetUserData(Geometry geometry, nint userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_Geometry_GetUserData")]
public static partial Result GeometryGetUserData(Geometry geometry, nint* userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_Reverb3D_Release")]
public static partial Result Reverb3dRelease(Reverb3d reverb3d);
[LibraryImport("fmod", EntryPoint = "FMOD5_Reverb3D_Set3DAttributes")]
public static partial Result Reverb3dSet3dAttributes(
Reverb3d reverb3d,
float3* position,
float minDistance,
float maxDistance
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Reverb3D_Get3DAttributes")]
public static partial Result Reverb3dGet3dAttributes(
Reverb3d reverb3d,
float3* position,
float* minDistance,
float* maxDistance
);
[LibraryImport("fmod", EntryPoint = "FMOD5_Reverb3D_SetProperties")]
public static partial Result Reverb3dSetProperties(Reverb3d reverb3d, ReverbProperties* properties);
[LibraryImport("fmod", EntryPoint = "FMOD5_Reverb3D_GetProperties")]
public static partial Result Reverb3dGetProperties(Reverb3d reverb3d, ReverbProperties* properties);
[LibraryImport("fmod", EntryPoint = "FMOD5_Reverb3D_SetActive")]
public static partial Result Reverb3dSetActive(Reverb3d reverb3d, Bool32 active);
[LibraryImport("fmod", EntryPoint = "FMOD5_Reverb3D_GetActive")]
public static partial Result Reverb3dGetActive(Reverb3d reverb3d, Bool32* active);
[LibraryImport("fmod", EntryPoint = "FMOD5_Reverb3D_SetUserData")]
public static partial Result Reverb3dSetUserData(Reverb3d reverb3d, nint userData);
[LibraryImport("fmod", EntryPoint = "FMOD5_Reverb3D_GetUserData")]
public static partial Result Reverb3dGetUserData(Reverb3d reverb3d, nint* userData);
}
}
}