C# Class Tao.OpenAl.Al

OpenAL binding for .NET, implementing AL 1.1.
Binds functions and definitions in OpenAL32.dll or libAL.so.
Datei anzeigen Open project: WolfgangSt/axiom

Public Properties

Property Type Description
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

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

ReloadFunctions() public static method

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
return void

alAuxiliaryEffectSlotf() public static method

public static alAuxiliaryEffectSlotf ( int AuxiliaryEffectSlot, int param, float value ) : void
AuxiliaryEffectSlot int
param int
value float
return void

alAuxiliaryEffectSlotfv() public static method

public static alAuxiliaryEffectSlotfv ( int AuxiliaryEffectSlot, int param, float value ) : void
AuxiliaryEffectSlot int
param int
value float
return void

alAuxiliaryEffectSloti() public static method

public static alAuxiliaryEffectSloti ( int AuxiliaryEffectSlot, int param, int value ) : void
AuxiliaryEffectSlot int
param int
value int
return void

alAuxiliaryEffectSlotiv() public static method

public static alAuxiliaryEffectSlotiv ( int AuxiliaryEffectSlot, int param, int value ) : void
AuxiliaryEffectSlot int
param int
value int
return void

alDeleteAuxiliaryEffectSlots() public static method

public static alDeleteAuxiliaryEffectSlots ( int size, int AuxiliaryEffectSlots ) : void
size int
AuxiliaryEffectSlots int
return void

alDeleteEffects() public static method

public static alDeleteEffects ( int size, int effects ) : void
size int
effects int
return void

alDeleteFilters() public static method

public static alDeleteFilters ( int size, int Filters ) : void
size int
Filters int
return void

alEffectf() public static method

public static alEffectf ( int effect, int param, float value ) : void
effect int
param int
value float
return void

alEffectfv() public static method

public static alEffectfv ( int effect, int param, float value ) : void
effect int
param int
value float
return void

alEffecti() public static method

public static alEffecti ( int effect, int param, int value ) : void
effect int
param int
value int
return void

alEffectiv() public static method

public static alEffectiv ( int effect, int param, int value ) : void
effect int
param int
value int
return void

alFilterf() public static method

public static alFilterf ( int Filter, int param, float value ) : void
Filter int
param int
value float
return void

alFilterfv() public static method

public static alFilterfv ( int Filter, int param, float value ) : void
Filter int
param int
value float
return void

alFilteri() public static method

public static alFilteri ( int Filter, int param, int value ) : void
Filter int
param int
value int
return void

alFilteriv() public static method

public static alFilteriv ( int Filter, int param, int value ) : void
Filter int
param int
value int
return void

alGenAuxiliaryEffectSlots() public static method

public static alGenAuxiliaryEffectSlots ( int size, int AuxiliaryEffectSlots ) : void
size int
AuxiliaryEffectSlots int
return void

alGenEffects() public static method

public static alGenEffects ( int size, int effects ) : void
size int
effects int
return void

alGenFilters() public static method

public static alGenFilters ( int size, int Filters ) : void
size int
Filters int
return void

alGetAuxiliaryEffectSlotf() public static method

public static alGetAuxiliaryEffectSlotf ( int AuxiliaryEffectSlot, int param, float &value ) : void
AuxiliaryEffectSlot int
param int
value float
return void

alGetAuxiliaryEffectSlotfv() public static method

public static alGetAuxiliaryEffectSlotfv ( int AuxiliaryEffectSlot, int param, float value ) : void
AuxiliaryEffectSlot int
param int
value float
return void

alGetAuxiliaryEffectSloti() public static method

public static alGetAuxiliaryEffectSloti ( int AuxiliaryEffectSlot, int param, int &value ) : void
AuxiliaryEffectSlot int
param int
value int
return void

alGetAuxiliaryEffectSlotiv() public static method

public static alGetAuxiliaryEffectSlotiv ( int AuxiliaryEffectSlot, int param, int value ) : void
AuxiliaryEffectSlot int
param int
value int
return void

alGetEffectf() public static method

public static alGetEffectf ( int effect, int param, float &value ) : void
effect int
param int
value float
return void

alGetEffectfv() public static method

public static alGetEffectfv ( int effect, int param, float value ) : void
effect int
param int
value float
return void

alGetEffecti() public static method

public static alGetEffecti ( int effect, int param, int &value ) : void
effect int
param int
value int
return void

alGetEffectiv() public static method

public static alGetEffectiv ( int effect, int param, int value ) : void
effect int
param int
value int
return void

alGetFilterf() public static method

public static alGetFilterf ( int Filter, int param, float &value ) : void
Filter int
param int
value float
return void

alGetFilterfv() public static method

public static alGetFilterfv ( int Filter, int param, float value ) : void
Filter int
param int
value float
return void

alGetFilteri() public static method

public static alGetFilteri ( int Filter, int param, int &value ) : void
Filter int
param int
value int
return void

alGetFilteriv() public static method

public static alGetFilteriv ( int Filter, int param, int value ) : void
Filter int
param int
value int
return void

alGetString() public static method

Retrieves an OpenAL string property.
public static alGetString ( int state ) : string
state int /// /// The property to be queried: /// /// /// /// /// /// /// /// /// ///
return string

alIsAuxiliaryEffectSlot() public static method

public static alIsAuxiliaryEffectSlot ( int AuxiliaryEffectSlot ) : bool
AuxiliaryEffectSlot int
return bool

alIsEffect() public static method

public static alIsEffect ( int effect ) : bool
effect int
return bool

alIsFilter() public static method

public static alIsFilter ( int Filter ) : bool
Filter int
return bool

Property Details

AL_EAX_RAM_FREE public_oe static_oe property

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
return int

AL_EAX_RAM_SIZE public_oe static_oe property

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
return int

AL_FORMAT_51CHN16 public_oe static_oe property

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
return int

AL_FORMAT_61CHN16 public_oe static_oe property

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
return int

AL_FORMAT_71CHN16 public_oe static_oe property

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
return int

AL_FORMAT_QUAD16 public_oe static_oe property

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
return int

AL_STORAGE_ACCESSIBLE public_oe static_oe property

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
return int

AL_STORAGE_AUTOMATIC public_oe static_oe property

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
return int

AL_STORAGE_HARDWARE public_oe static_oe property

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
return int