mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
381 lines
18 KiB
C#
381 lines
18 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.OpenAlApi
|
|
{
|
|
public static unsafe partial class Al
|
|
{
|
|
public static partial class PInvoke
|
|
{
|
|
[LibraryImport(Dll, EntryPoint = "alEnable")]
|
|
public static partial void Enable(int capability);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alDisable")]
|
|
public static partial void Disable(int capability);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alIsEnabled")]
|
|
public static partial Bool8 IsEnabled(int capability);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alDopplerFactor")]
|
|
public static partial void DopplerFactor(float value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alDopplerVelocity")]
|
|
public static partial void DopplerVelocity(float value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alDistanceModel")]
|
|
public static partial void DistanceModel(int distanceModel);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetString")]
|
|
public static partial byte* GetString(int param);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetBooleanv")]
|
|
public static partial void GetBooleanv(int param, Bool8* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetIntegerv")]
|
|
public static partial void GetIntegerv(int param, int* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetFloatv")]
|
|
public static partial void GetFloatv(int param, float* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetDoublev")]
|
|
public static partial void GetDoublev(int param, double* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetBoolean")]
|
|
public static partial Bool8 GetBoolean(int param);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetInteger")]
|
|
public static partial int GetInteger(int param);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetFloat")]
|
|
public static partial float GetFloat(int param);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetDouble")]
|
|
public static partial double GetDouble(int param);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetError")]
|
|
public static partial int GetError();
|
|
|
|
/// <summary>
|
|
/// Query for the presence of an extension on the AL context.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alIsExtensionPresent")]
|
|
public static partial Bool8 IsExtensionPresent(byte* extname);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetProcAddress")]
|
|
public static partial void* GetProcAddress(byte* fname);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetEnumValue")]
|
|
public static partial int GetEnumValue(byte* ename);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alListenerf")]
|
|
public static partial void Listenerf(int param, float value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alListener3f")]
|
|
public static partial void Listener3f(int param, float value1, float value2, float value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alListenerfv")]
|
|
public static partial void Listenerfv(int param, float* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alListeneri")]
|
|
public static partial void Listeneri(int param, int value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alListener3i")]
|
|
public static partial void Listener3i(int param, int value1, int value2, int value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alListeneriv")]
|
|
public static partial void Listeneriv(int param, int* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetListenerf")]
|
|
public static partial void GetListenerf(int param, float* value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetListener3f")]
|
|
public static partial void GetListener3f(int param, float* value1, float* value2, float* value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetListenerfv")]
|
|
public static partial void GetListenerfv(int param, float* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetListeneri")]
|
|
public static partial void GetListeneri(int param, int* value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetListener3i")]
|
|
public static partial void GetListener3i(int param, int* value1, int* value2, int* value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetListeneriv")]
|
|
public static partial void GetListeneriv(int param, int* values);
|
|
|
|
/// <summary>
|
|
/// Create source objects.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alGenSources")]
|
|
public static partial void GenSources(int n, uint* sources);
|
|
|
|
/// <summary>
|
|
/// Delete source objects.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alDeleteSources")]
|
|
public static partial void DeleteSources(int n, uint* sources);
|
|
|
|
/// <summary>
|
|
/// Verify an ID is for a valid source.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alIsSource")]
|
|
public static partial Bool8 IsSource(uint source);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alSourcef")]
|
|
public static partial void Sourcef(uint source, int param, float value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alSource3f")]
|
|
public static partial void Source3f(uint source, int param, float value1, float value2, float value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alSourcefv")]
|
|
public static partial void Sourcefv(uint source, int param, float* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alSourcei")]
|
|
public static partial void Sourcei(uint source, int param, int value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alSource3i")]
|
|
public static partial void Source3i(uint source, int param, int value1, int value2, int value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alSourceiv")]
|
|
public static partial void Sourceiv(uint source, int param, int* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetSourcef")]
|
|
public static partial void GetSourcef(uint source, int param, float* value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetSource3f")]
|
|
public static partial void GetSource3f(uint source, int param, float* value1, float* value2, float* value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetSourcefv")]
|
|
public static partial void GetSourcefv(uint source, int param, float* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetSourcei")]
|
|
public static partial void GetSourcei(uint source, int param, int* value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetSource3i")]
|
|
public static partial void GetSource3i(uint source, int param, int* value1, int* value2, int* value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetSourceiv")]
|
|
public static partial void GetSourceiv(uint source, int param, int* values);
|
|
|
|
/// <summary>
|
|
/// Play, restart, or resume a source, setting its state to AL_PLAYING.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alSourcePlay")]
|
|
public static partial void SourcePlay(uint source);
|
|
|
|
/// <summary>
|
|
/// Stop a source, setting its state to AL_STOPPED if playing or paused.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alSourceStop")]
|
|
public static partial void SourceStop(uint source);
|
|
|
|
/// <summary>
|
|
/// Rewind a source, setting its state to AL_INITIAL.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alSourceRewind")]
|
|
public static partial void SourceRewind(uint source);
|
|
|
|
/// <summary>
|
|
/// Pause a source, setting its state to AL_PAUSED if playing.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alSourcePause")]
|
|
public static partial void SourcePause(uint source);
|
|
|
|
/// <summary>
|
|
/// Play, restart, or resume a list of sources atomically.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alSourcePlayv")]
|
|
public static partial void SourcePlayv(int n, uint* sources);
|
|
|
|
/// <summary>
|
|
/// Stop a list of sources atomically.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alSourceStopv")]
|
|
public static partial void SourceStopv(int n, uint* sources);
|
|
|
|
/// <summary>
|
|
/// Rewind a list of sources atomically.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alSourceRewindv")]
|
|
public static partial void SourceRewindv(int n, uint* sources);
|
|
|
|
/// <summary>
|
|
/// Pause a list of sources atomically.
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alSourcePausev")]
|
|
public static partial void SourcePausev(int n, uint* sources);
|
|
|
|
/// <summary>
|
|
/// Queue buffers onto a source
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alSourceQueueBuffers")]
|
|
public static partial void SourceQueueBuffers(uint source, int nb, uint* buffers);
|
|
|
|
/// <summary>
|
|
/// Unqueue processed buffers from a source
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alSourceUnqueueBuffers")]
|
|
public static partial void SourceUnqueueBuffers(uint source, int nb, uint* buffers);
|
|
|
|
/// <summary>
|
|
/// Create buffer objects
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alGenBuffers")]
|
|
public static partial void GenBuffers(int n, uint* buffers);
|
|
|
|
/// <summary>
|
|
/// Delete buffer objects
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alDeleteBuffers")]
|
|
public static partial void DeleteBuffers(int n, uint* buffers);
|
|
|
|
/// <summary>
|
|
/// Verify an ID is a valid buffer (including the NULL buffer)
|
|
/// </summary>
|
|
[LibraryImport(Dll, EntryPoint = "alIsBuffer")]
|
|
public static partial Bool8 IsBuffer(uint buffer);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alBufferData")]
|
|
public static partial void BufferData(uint buffer, int format, void* data, int size, int samplerate);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alBufferf")]
|
|
public static partial void Bufferf(uint buffer, int param, float value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alBuffer3f")]
|
|
public static partial void Buffer3f(uint buffer, int param, float value1, float value2, float value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alBufferfv")]
|
|
public static partial void Bufferfv(uint buffer, int param, float* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alBufferi")]
|
|
public static partial void Bufferi(uint buffer, int param, int value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alBuffer3i")]
|
|
public static partial void Buffer3i(uint buffer, int param, int value1, int value2, int value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alBufferiv")]
|
|
public static partial void Bufferiv(uint buffer, int param, int* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetBufferf")]
|
|
public static partial void GetBufferf(uint buffer, int param, float* value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetBuffer3f")]
|
|
public static partial void GetBuffer3f(uint buffer, int param, float* value1, float* value2, float* value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetBufferfv")]
|
|
public static partial void GetBufferfv(uint buffer, int param, float* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetBufferi")]
|
|
public static partial void GetBufferi(uint buffer, int param, int* value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetBuffer3i")]
|
|
public static partial void GetBuffer3i(uint buffer, int param, int* value1, int* value2, int* value3);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetBufferiv")]
|
|
public static partial void GetBufferiv(uint buffer, int param, int* values);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alSpeedOfSound")]
|
|
public static partial void SpeedOfSound(float value);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGenEffects")]
|
|
public static partial void GenEffects(int n, uint* effects);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alDeleteEffects")]
|
|
public static partial void DeleteEffects(int n, uint* effects);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alIsEffect")]
|
|
public static partial Bool8 IsEffect(uint effect);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alEffecti")]
|
|
public static partial void Effecti(uint effect, int param, int iValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alEffectiv")]
|
|
public static partial void Effectiv(uint effect, int param, int* piValues);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alEffectf")]
|
|
public static partial void Effectf(uint effect, int param, float flValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alEffectfv")]
|
|
public static partial void Effectfv(uint effect, int param, float* pflValues);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetEffecti")]
|
|
public static partial void GetEffecti(uint effect, int param, int* iValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetEffectiv")]
|
|
public static partial void GetEffectiv(uint effect, int param, int* piValues);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetEffectf")]
|
|
public static partial void GetEffectf(uint effect, int param, float* flValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetEffectfv")]
|
|
public static partial void GetEffectfv(uint effect, int param, float* pflValues);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGenFilters")]
|
|
public static partial void GenFilters(int n, uint* filters);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alDeleteFilters")]
|
|
public static partial void DeleteFilters(int n, uint* filters);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alIsFilter")]
|
|
public static partial Bool8 IsFilter(uint filter);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alFilteri")]
|
|
public static partial void Filteri(uint filter, int param, int iValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alFilteriv")]
|
|
public static partial void Filteriv(uint filter, int param, int* piValues);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alFilterf")]
|
|
public static partial void Filterf(uint filter, int param, float flValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alFilterfv")]
|
|
public static partial void Filterfv(uint filter, int param, float* pflValues);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetFilteri")]
|
|
public static partial void GetFilteri(uint filter, int param, int* iValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetFilteriv")]
|
|
public static partial void GetFilteriv(uint filter, int param, int* piValues);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetFilterf")]
|
|
public static partial void GetFilterf(uint filter, int param, float* flValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetFilterfv")]
|
|
public static partial void GetFilterfv(uint filter, int param, float* pflValues);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGenAuxiliaryEffectSlots")]
|
|
public static partial void GenAuxiliaryEffectSlots(int n, uint* effectslots);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alDeleteAuxiliaryEffectSlots")]
|
|
public static partial void DeleteAuxiliaryEffectSlots(int n, uint* effectslots);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alIsAuxiliaryEffectSlot")]
|
|
public static partial Bool8 IsAuxiliaryEffectSlot(uint effectslot);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alAuxiliaryEffectSloti")]
|
|
public static partial void AuxiliaryEffectSloti(uint effectslot, int param, int iValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alAuxiliaryEffectSlotiv")]
|
|
public static partial void AuxiliaryEffectSlotiv(uint effectslot, int param, int* piValues);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alAuxiliaryEffectSlotf")]
|
|
public static partial void AuxiliaryEffectSlotf(uint effectslot, int param, float flValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alAuxiliaryEffectSlotfv")]
|
|
public static partial void AuxiliaryEffectSlotfv(uint effectslot, int param, float* pflValues);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetAuxiliaryEffectSloti")]
|
|
public static partial void GetAuxiliaryEffectSloti(uint effectslot, int param, int* iValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetAuxiliaryEffectSlotiv")]
|
|
public static partial void GetAuxiliaryEffectSlotiv(uint effectslot, int param, int* piValues);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetAuxiliaryEffectSlotf")]
|
|
public static partial void GetAuxiliaryEffectSlotf(uint effectslot, int param, float* flValue);
|
|
|
|
[LibraryImport(Dll, EntryPoint = "alGetAuxiliaryEffectSlotfv")]
|
|
public static partial void GetAuxiliaryEffectSlotfv(uint effectslot, int param, float* pflValues);
|
|
}
|
|
}
|
|
}
|