C# Класс Tao.OpenAl.Al

OpenAL binding for .NET, implementing AL 1.1.
Binds functions and definitions in OpenAL32.dll or libAL.so.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
AL_EAX_RAM_FREE int
AL_EAX_RAM_SIZE int
AL_FORMAT_51CHN16 int
AL_FORMAT_61CHN16 int
AL_FORMAT_71CHN16 int
AL_FORMAT_QUAD16 int
AL_STORAGE_ACCESSIBLE int
AL_STORAGE_AUTOMATIC int
AL_STORAGE_HARDWARE int

Открытые методы

Метод Описание
ReloadFunctions ( ) : void

Reloads OpenAL extension functions.

Call this function to reload context-dependent extension OpenAL entry points. This should be done whenever you change the current OpenAL context, or in the case you cannot (or do not want) to use the automatic initialisation.

Calling this function before the automatic initialisation has taken place will result in the Al class being initialised twice. This is harmless, but, given the choice, the automatic initialisation should be preferred.

alAuxiliaryEffectSlotf ( int AuxiliaryEffectSlot, int param, float value ) : void
alAuxiliaryEffectSlotfv ( int AuxiliaryEffectSlot, int param, float value ) : void
alAuxiliaryEffectSloti ( int AuxiliaryEffectSlot, int param, int value ) : void
alAuxiliaryEffectSlotiv ( int AuxiliaryEffectSlot, int param, int value ) : void
alDeleteAuxiliaryEffectSlots ( int size, int AuxiliaryEffectSlots ) : void
alDeleteEffects ( int size, int effects ) : void
alDeleteFilters ( int size, int Filters ) : void
alEffectf ( int effect, int param, float value ) : void
alEffectfv ( int effect, int param, float value ) : void
alEffecti ( int effect, int param, int value ) : void
alEffectiv ( int effect, int param, int value ) : void
alFilterf ( int Filter, int param, float value ) : void
alFilterfv ( int Filter, int param, float value ) : void
alFilteri ( int Filter, int param, int value ) : void
alFilteriv ( int Filter, int param, int value ) : void
alGenAuxiliaryEffectSlots ( int size, int AuxiliaryEffectSlots ) : void
alGenEffects ( int size, int effects ) : void
alGenFilters ( int size, int Filters ) : void
alGetAuxiliaryEffectSlotf ( int AuxiliaryEffectSlot, int param, float &value ) : void
alGetAuxiliaryEffectSlotfv ( int AuxiliaryEffectSlot, int param, float value ) : void
alGetAuxiliaryEffectSloti ( int AuxiliaryEffectSlot, int param, int &value ) : void
alGetAuxiliaryEffectSlotiv ( int AuxiliaryEffectSlot, int param, int value ) : void
alGetEffectf ( int effect, int param, float &value ) : void
alGetEffectfv ( int effect, int param, float value ) : void
alGetEffecti ( int effect, int param, int &value ) : void
alGetEffectiv ( int effect, int param, int value ) : void
alGetFilterf ( int Filter, int param, float &value ) : void
alGetFilterfv ( int Filter, int param, float value ) : void
alGetFilteri ( int Filter, int param, int &value ) : void
alGetFilteriv ( int Filter, int param, int value ) : void
alGetString ( int state ) : string

Retrieves an OpenAL string property.

alIsAuxiliaryEffectSlot ( int AuxiliaryEffectSlot ) : bool
alIsEffect ( int effect ) : bool
alIsFilter ( int Filter ) : bool

Приватные методы

Метод Описание
EAXGetBufferMode ( int buffer, int reserved ) : int
EAXSetBufferMode ( int n, int buffers, int mode ) : void
_alGetString ( int state ) : IntPtr
alBuffer3f ( int bid, int param, float value1, float value2, float value3 ) : void
alBuffer3i ( int bid, int param, int value1, int value2, int value3 ) : void
alBufferData ( int buffer, int format, [ data, int size, int frequency ) : void
alBufferf ( int bid, int param, float val ) : void
alBufferfv ( int bid, int param, float &val ) : void
alBufferi ( int bid, int param, int val ) : void
alBufferiv ( int bid, int param, int &val ) : void
alDeleteBuffers ( int number, [ buffer ) : void
alDeleteEnvironmentIASIG ( int number, [ environments ) : void
alDeleteSources ( int number, [ sources ) : void
alDisable ( int capability ) : void
alDistanceModel ( int val ) : void
alDopplerFactor ( float val ) : void
alDopplerVelocity ( float val ) : void
alEnable ( int capability ) : void
alEnvironmentfIASIG ( int environmentId, int attribute, int val ) : void
alEnvironmentiIASIG ( int environmentId, int attribute, int val ) : void
alGenBuffers ( int number, [ buffers ) : void
alGenBuffers ( int number, int &buffer ) : void
alGenEnvironmentIASIG ( int number, [ environments ) : int
alGenEnvironmentIASIG ( int number, int &environments ) : int
alGenSources ( int number, [ sources ) : void
alGenSources ( int number, int &source ) : void
alGetBoolean ( int state ) : int
alGetBooleanv ( int state, [ output ) : void
alGetBooleanv ( int state, int &output ) : void
alGetBuffer3f ( int buffer, int attribute, float &value1, float &value2, float &value3 ) : void
alGetBuffer3i ( int buffer, int attribute, int &value1, int &value2, int &value3 ) : void
alGetBufferf ( int buffer, int attribute, [ val ) : void
alGetBufferf ( int buffer, int attribute, int &val ) : void
alGetBufferfv ( int buffer, int attribute, [ val ) : void
alGetBufferfv ( int buffer, int attribute, float &val ) : void
alGetBufferi ( int buffer, int attribute, [ val ) : void
alGetBufferi ( int buffer, int attribute, int &val ) : void
alGetBufferiv ( int buffer, int attribute, [ val ) : void
alGetBufferiv ( int buffer, int attribute, int &val ) : void
alGetDouble ( int state ) : double
alGetDoublev ( int state, [ output ) : void
alGetDoublev ( int state, double &output ) : void
alGetEnumValue ( string enumName ) : int
alGetError ( ) : int
alGetFloat ( int state ) : float
alGetFloatv ( int state, [ output ) : void
alGetFloatv ( int state, float &output ) : void
alGetInteger ( int state ) : int
alGetIntegerv ( int state, [ output ) : void
alGetIntegerv ( int state, int &output ) : void
alGetListener3f ( int attribute, [ output1, [ output2, [ output3 ) : void
alGetListener3f ( int attribute, float &output1, float &output2, float &output3 ) : void
alGetListener3i ( int attribute, [ output1, [ output2, [ output3 ) : void
alGetListenerf ( int attribute, [ output ) : void
alGetListenerf ( int attribute, float &output ) : void
alGetListenerfv ( int attribute, [ output ) : void
alGetListenerfv ( int attribute, float &output ) : void
alGetListeneri ( int attribute, [ output ) : void
alGetListeneri ( int attribute, int &output ) : void
alGetListeneriv ( int attribute, [ output ) : void
alGetListeneriv ( int attribute, int &output ) : void
alGetProcAddress ( string functionName ) : IntPtr
alGetSource3f ( int source, int attribute, [ value1, [ value2, [ value3 ) : void
alGetSource3f ( int source, int attribute, float &value1, float &value2, float &value3 ) : void
alGetSource3i ( int source, int attribute, int &value1, int &value2, int &value3 ) : void
alGetSourcef ( int source, int attribute, [ val ) : void
alGetSourcef ( int source, int attribute, float &val ) : void
alGetSourcefv ( int source, int attribute, [ values ) : void
alGetSourcefv ( int source, int attribute, float &val ) : void
alGetSourcei ( int source, int attribute, [ val ) : void
alGetSourcei ( int source, int attribute, int &val ) : void
alGetSourceiv ( int source, int attribute, [ val ) : void
alGetSourceiv ( int source, int attribute, int &val ) : void
alHint ( int target, int mode ) : void
alIsBuffer ( int buffer ) : int
alIsEnabled ( int capability ) : int
alIsEnvironmentIASIG ( int environment ) : int
alIsExtensionPresent ( string extensionName ) : int
alIsSource ( int id ) : int
alListener3f ( int attribute, float value1, float value2, float value3 ) : void
alListener3i ( int attribute, int value1, int value2, int value3 ) : void
alListenerf ( int attribute, float val ) : void
alListenerfv ( int attribute, [ values ) : void
alListeneri ( int attribute, int val ) : void
alListeneriv ( int attribute, [ values ) : void
alQueuei ( int source, int attribute, int val ) : void
alSource3f ( int source, int attribute, float value1, float value2, float value3 ) : void
alSource3i ( int source, int attribute, int value1, int value2, int value3 ) : void
alSourcePause ( int source ) : void
alSourcePausev ( int number, [ source ) : void
alSourcePlay ( int source ) : void
alSourcePlayv ( int number, [ source ) : void
alSourceQueueBuffers ( int source, int number, [ buffer ) : void
alSourceRewind ( int source ) : void
alSourceRewindv ( int number, [ source ) : void
alSourceStop ( int source ) : void
alSourceStopv ( int number, [ source ) : void
alSourceUnqueueBuffers ( int source, int number, [ buffer ) : void
alSourcef ( int source, int attribute, float val ) : void
alSourcefv ( int source, int attribute, [ values ) : void
alSourcei ( int source, int attribute, int val ) : void
alSourceiv ( int source, int attribute, [ values ) : void
alSpeedOfSound ( float val ) : void

Описание методов

ReloadFunctions() публичный статический Метод

Reloads OpenAL extension functions.

Call this function to reload context-dependent extension OpenAL entry points. This should be done whenever you change the current OpenAL context, or in the case you cannot (or do not want) to use the automatic initialisation.

Calling this function before the automatic initialisation has taken place will result in the Al class being initialised twice. This is harmless, but, given the choice, the automatic initialisation should be preferred.

public static ReloadFunctions ( ) : void
Результат void

alAuxiliaryEffectSlotf() публичный статический Метод

public static alAuxiliaryEffectSlotf ( int AuxiliaryEffectSlot, int param, float value ) : void
AuxiliaryEffectSlot int
param int
value float
Результат void

alAuxiliaryEffectSlotfv() публичный статический Метод

public static alAuxiliaryEffectSlotfv ( int AuxiliaryEffectSlot, int param, float value ) : void
AuxiliaryEffectSlot int
param int
value float
Результат void

alAuxiliaryEffectSloti() публичный статический Метод

public static alAuxiliaryEffectSloti ( int AuxiliaryEffectSlot, int param, int value ) : void
AuxiliaryEffectSlot int
param int
value int
Результат void

alAuxiliaryEffectSlotiv() публичный статический Метод

public static alAuxiliaryEffectSlotiv ( int AuxiliaryEffectSlot, int param, int value ) : void
AuxiliaryEffectSlot int
param int
value int
Результат void

alDeleteAuxiliaryEffectSlots() публичный статический Метод

public static alDeleteAuxiliaryEffectSlots ( int size, int AuxiliaryEffectSlots ) : void
size int
AuxiliaryEffectSlots int
Результат void

alDeleteEffects() публичный статический Метод

public static alDeleteEffects ( int size, int effects ) : void
size int
effects int
Результат void

alDeleteFilters() публичный статический Метод

public static alDeleteFilters ( int size, int Filters ) : void
size int
Filters int
Результат void

alEffectf() публичный статический Метод

public static alEffectf ( int effect, int param, float value ) : void
effect int
param int
value float
Результат void

alEffectfv() публичный статический Метод

public static alEffectfv ( int effect, int param, float value ) : void
effect int
param int
value float
Результат void

alEffecti() публичный статический Метод

public static alEffecti ( int effect, int param, int value ) : void
effect int
param int
value int
Результат void

alEffectiv() публичный статический Метод

public static alEffectiv ( int effect, int param, int value ) : void
effect int
param int
value int
Результат void

alFilterf() публичный статический Метод

public static alFilterf ( int Filter, int param, float value ) : void
Filter int
param int
value float
Результат void

alFilterfv() публичный статический Метод

public static alFilterfv ( int Filter, int param, float value ) : void
Filter int
param int
value float
Результат void

alFilteri() публичный статический Метод

public static alFilteri ( int Filter, int param, int value ) : void
Filter int
param int
value int
Результат void

alFilteriv() публичный статический Метод

public static alFilteriv ( int Filter, int param, int value ) : void
Filter int
param int
value int
Результат void

alGenAuxiliaryEffectSlots() публичный статический Метод

public static alGenAuxiliaryEffectSlots ( int size, int AuxiliaryEffectSlots ) : void
size int
AuxiliaryEffectSlots int
Результат void

alGenEffects() публичный статический Метод

public static alGenEffects ( int size, int effects ) : void
size int
effects int
Результат void

alGenFilters() публичный статический Метод

public static alGenFilters ( int size, int Filters ) : void
size int
Filters int
Результат void

alGetAuxiliaryEffectSlotf() публичный статический Метод

public static alGetAuxiliaryEffectSlotf ( int AuxiliaryEffectSlot, int param, float &value ) : void
AuxiliaryEffectSlot int
param int
value float
Результат void

alGetAuxiliaryEffectSlotfv() публичный статический Метод

public static alGetAuxiliaryEffectSlotfv ( int AuxiliaryEffectSlot, int param, float value ) : void
AuxiliaryEffectSlot int
param int
value float
Результат void

alGetAuxiliaryEffectSloti() публичный статический Метод

public static alGetAuxiliaryEffectSloti ( int AuxiliaryEffectSlot, int param, int &value ) : void
AuxiliaryEffectSlot int
param int
value int
Результат void

alGetAuxiliaryEffectSlotiv() публичный статический Метод

public static alGetAuxiliaryEffectSlotiv ( int AuxiliaryEffectSlot, int param, int value ) : void
AuxiliaryEffectSlot int
param int
value int
Результат void

alGetEffectf() публичный статический Метод

public static alGetEffectf ( int effect, int param, float &value ) : void
effect int
param int
value float
Результат void

alGetEffectfv() публичный статический Метод

public static alGetEffectfv ( int effect, int param, float value ) : void
effect int
param int
value float
Результат void

alGetEffecti() публичный статический Метод

public static alGetEffecti ( int effect, int param, int &value ) : void
effect int
param int
value int
Результат void

alGetEffectiv() публичный статический Метод

public static alGetEffectiv ( int effect, int param, int value ) : void
effect int
param int
value int
Результат void

alGetFilterf() публичный статический Метод

public static alGetFilterf ( int Filter, int param, float &value ) : void
Filter int
param int
value float
Результат void

alGetFilterfv() публичный статический Метод

public static alGetFilterfv ( int Filter, int param, float value ) : void
Filter int
param int
value float
Результат void

alGetFilteri() публичный статический Метод

public static alGetFilteri ( int Filter, int param, int &value ) : void
Filter int
param int
value int
Результат void

alGetFilteriv() публичный статический Метод

public static alGetFilteriv ( int Filter, int param, int value ) : void
Filter int
param int
value int
Результат void

alGetString() публичный статический Метод

Retrieves an OpenAL string property.
public static alGetString ( int state ) : string
state int /// /// The property to be queried: /// /// /// /// /// /// /// /// /// ///
Результат string

alIsAuxiliaryEffectSlot() публичный статический Метод

public static alIsAuxiliaryEffectSlot ( int AuxiliaryEffectSlot ) : bool
AuxiliaryEffectSlot int
Результат bool

alIsEffect() публичный статический Метод

public static alIsEffect ( int effect ) : bool
effect int
Результат bool

alIsFilter() публичный статический Метод

public static alIsFilter ( int Filter ) : bool
Filter int
Результат bool

Описание свойств

AL_EAX_RAM_FREE публичное статическое свойство

See 'OpenAL Programmer's Guide' for more information.
Note that if the enumeration value is not supported by the current OpenAl implementation, an OpenAL error is generated the first, but only the first time this field is accessed. The field then has a value of zero.
public static int AL_EAX_RAM_FREE
Результат int

AL_EAX_RAM_SIZE публичное статическое свойство

See 'OpenAL Programmer's Guide' for more information.
Note that if the enumeration value is not supported by the current OpenAl implementation, an OpenAL error is generated the first, but only the first time this field is accessed. The field then has a value of zero.
public static int AL_EAX_RAM_SIZE
Результат int

AL_FORMAT_51CHN16 публичное статическое свойство

Format specifier for 16bit 6-channel audio.
Note that if the enumeration value is not supported by the current OpenAl implementation, an OpenAL error is generated the first, but only the first time this field is accessed. The field then has a value of zero.
public static int AL_FORMAT_51CHN16
Результат int

AL_FORMAT_61CHN16 публичное статическое свойство

Format specifier for 16bit 7-channel audio.
Note that if the enumeration value is not supported by the current OpenAl implementation, an OpenAL error is generated the first, but only the first time this field is accessed. The field then has a value of zero.
public static int AL_FORMAT_61CHN16
Результат int

AL_FORMAT_71CHN16 публичное статическое свойство

Format specifier for 16bit 8-channel audio.
Note that if the enumeration value is not supported by the current OpenAl implementation, an OpenAL error is generated the first, but only the first time this field is accessed. The field then has a value of zero.
public static int AL_FORMAT_71CHN16
Результат int

AL_FORMAT_QUAD16 публичное статическое свойство

Format specifier for 16bit 4-channel audio.
Note that if the enumeration value is not supported by the current OpenAl implementation, an OpenAL error is generated the first, but only the first time this field is accessed. The field then has a value of zero.
public static int AL_FORMAT_QUAD16
Результат int

AL_STORAGE_ACCESSIBLE публичное статическое свойство

See 'OpenAL Programmer's Guide' for more information.
Note that if the enumeration value is not supported by the current OpenAl implementation, an OpenAL error is generated the first, but only the first time this field is accessed. The field then has a value of zero.
public static int AL_STORAGE_ACCESSIBLE
Результат int

AL_STORAGE_AUTOMATIC публичное статическое свойство

See 'OpenAL Programmer's Guide' for more information.
Note that if the enumeration value is not supported by the current OpenAl implementation, an OpenAL error is generated the first, but only the first time this field is accessed. The field then has a value of zero.
public static int AL_STORAGE_AUTOMATIC
Результат int

AL_STORAGE_HARDWARE публичное статическое свойство

See 'OpenAL Programmer's Guide' for more information.
Note that if the enumeration value is not supported by the current OpenAl implementation, an OpenAL error is generated the first, but only the first time this field is accessed. The field then has a value of zero.
public static int AL_STORAGE_HARDWARE
Результат int