# class ALAudioContext

#### package lime.media

Available on all platforms

### Constructor

###

`new ()`

### Variables

###

`BITS:Int = 0x2002`

###

`BUFFER:Int = 0x1009`

###

`BUFFERS_PROCESSED:Int = 0x1016`

###

`BUFFERS_QUEUED:Int = 0x1015`

###

`BYTE_OFFSET:Int = 0x1026`

###

`CHANNELS:Int = 0x2003`

###

`CONE_INNER_ANGLE:Int = 0x1001`

###

`CONE_OUTER_ANGLE:Int = 0x1002`

###

`CONE_OUTER_GAIN:Int = 0x1022`

###

`DIRECTION:Int = 0x1005`

###

`DISTANCE_MODEL:Int = 0xD000`

###

`DOPPLER_FACTOR:Int = 0xC000`

###

`DOPPLER_VELOCITY:Int = 0xC001`

###

`EXPONENT_DISTANCE:Int = 0xD005`

###

`EXPONENT_DISTANCE_CLAMPED:Int = 0xD006`

###

`EXTENSIONS:Int = 0xB004`

###

`FALSE:Int = 0`

###

`FORMAT_MONO16:Int = 0x1101`

###

`FORMAT_MONO8:Int = 0x1100`

###

`FORMAT_STEREO16:Int = 0x1103`

###

`FORMAT_STEREO8:Int = 0x1102`

###

`FREQUENCY:Int = 0x2001`

###

`GAIN:Int = 0x100A`

###

`INITIAL:Int = 0x1011`

###

`INVALID_ENUM:Int = 0xA002`

###

`INVALID_NAME:Int = 0xA001`

###

`INVALID_OPERATION:Int = 0xA004`

###

`INVALID_VALUE:Int = 0xA003`

###

`INVERSE_DISTANCE:Int = 0xD001`

###

`INVERSE_DISTANCE_CLAMPED:Int = 0xD002`

###

`LINEAR_DISTANCE:Int = 0xD003`

###

`LINEAR_DISTANCE_CLAMPED:Int = 0xD004`

###

`LOOPING:Int = 0x1007`

###

`MAX_DISTANCE:Int = 0x1023`

###

`MAX_GAIN:Int = 0x100E`

###

`MIN_GAIN:Int = 0x100D`

###

`NONE:Int = 0`

###

`NO_ERROR:Int = 0`

###

`ORIENTATION:Int = 0x100F`

###

`OUT_OF_MEMORY:Int = 0xA005`

###

`PAUSED:Int = 0x1013`

###

`PITCH:Int = 0x1003`

###

`PLAYING:Int = 0x1012`

###

`POSITION:Int = 0x1004`

###

`REFERENCE_DISTANCE:Int = 0x1020`

###

`RENDERER:Int = 0xB003`

###

`ROLLOFF_FACTOR:Int = 0x1021`

###

`SAMPLE_OFFSET:Int = 0x1025`

###

`SEC_OFFSET:Int = 0x1024`

###

`SIZE:Int = 0x2004`

###

`SOURCE_RELATIVE:Int = 0x202`

###

`SOURCE_STATE:Int = 0x1010`

###

`SOURCE_TYPE:Int = 0x1027`

###

`SPEED_OF_SOUND:Int = 0xC003`

###

`STATIC:Int = 0x1028`

###

`STOPPED:Int = 0x1014`

###

`STREAMING:Int = 0x1029`

###

`TRUE:Int = 1`

###

`UNDETERMINED:Int = 0x1030`

###

`VELOCITY:Int = 0x1006`

###

`VENDOR:Int = 0xB001`

###

`VERSION:Int = 0xB002`

### Methods

###

`buffer3f (buffer:ALBuffer, param:Int, value1:Float, value2:Float, value3:Float):Void`

###

`buffer3i (buffer:ALBuffer, param:Int, value1:Int, value2:Int, value3:Int):Void`

###

`bufferData (buffer:ALBuffer, format:Int, data:ArrayBufferView, size:Int, freq:Int):Void`

###

`bufferf (buffer:ALBuffer, param:Int, value:Float):Void`

###

`bufferfv (buffer:ALBuffer, param:Int, values:Array<Float>):Void`

###

`bufferi (buffer:ALBuffer, param:Int, value:Int):Void`

###

`bufferiv (buffer:ALBuffer, param:Int, values:Array<Int>):Void`

###

`createBuffer ():ALBuffer`

###

`createSource ():ALSource`

###

`deleteBuffer (buffer:ALBuffer):Void`

###

`deleteBuffers (buffers:Array<ALBuffer>):Void`

###

`deleteSource (source:ALSource):Void`

###

`deleteSources (sources:Array<ALSource>):Void`

###

`disable (capability:Int):Void`

###

`distanceModel (distanceModel:Int):Void`

###

`dopplerFactor (value:Float):Void`

###

`dopplerVelocity (value:Float):Void`

###

`enable (capability:Int):Void`

###

`genBuffer ():ALBuffer`

###

`genBuffers (n:Int):Array<ALBuffer>`

###

`genSource ():ALSource`

###

`genSources (n:Int):Array<ALSource>`

###

`getBoolean (param:Int):Bool`

###

`getBooleanv (param:Int, count:Int = 1):Array<Bool>`

###

`getBuffer3f (buffer:ALBuffer, param:Int):Array<Float>`

###

`getBuffer3i (buffer:ALBuffer, param:Int):Array<Int>`

###

`getBufferf (buffer:ALBuffer, param:Int):Float`

###

`getBufferfv (buffer:ALBuffer, param:Int, count:Int = 1):Array<Float>`

###

`getBufferi (buffer:ALBuffer, param:Int):Int`

###

`getBufferiv (buffer:ALBuffer, param:Int, count:Int = 1):Array<Int>`

###

`getDouble (param:Int):Float`

###

`getDoublev (param:Int, count:Int = 1):Array<Float>`

###

`getEnumValue (ename:String):Int`

###

`getError ():Int`

###

`getErrorString ():String`

###

`getFloat (param:Int):Float`

###

`getFloatv (param:Int, count:Int = 1):Array<Float>`

###

`getInteger (param:Int):Int`

###

`getIntegerv (param:Int, count:Int = 1):Array<Int>`

###

`getListener3f (param:Int):Array<Float>`

###

`getListener3i (param:Int):Array<Int>`

###

`getListenerf (param:Int):Float`

###

`getListenerfv (param:Int, count:Int = 1):Array<Float>`

###

`getListeneri (param:Int):Int`

###

`getListeneriv (param:Int, count:Int = 1):Array<Int>`

###

`getProcAddress (fname:String):Dynamic`

###

`getSource3f (source:ALSource, param:Int):Array<Float>`

###

`getSource3i (source:ALSource, param:Int):Array<Int>`

###

`getSourcef (source:ALSource, param:Int):Float`

###

`getSourcefv (source:ALSource, param:Int, count:Int = 1):Array<Float>`

###

`getSourcei (source:ALSource, param:Int):Dynamic`

###

`getSourceiv (source:ALSource, param:Int, count:Int = 1):Array<Int>`

###

`getString (param:Int):String`

###

`isBuffer (buffer:ALBuffer):Bool`

###

`isEnabled (capability:Int):Bool`

###

`isExtensionPresent (extname:String):Bool`

###

`isSource (source:ALSource):Bool`

###

`listener3f (param:Int, value1:Float, value2:Float, value3:Float):Void`

###

`listener3i (param:Int, value1:Int, value2:Int, value3:Int):Void`

###

`listenerf (param:Int, value:Float):Void`

###

`listenerfv (param:Int, values:Array<Float>):Void`

###

`listeneri (param:Int, value:Int):Void`

###

`listeneriv (param:Int, values:Array<Int>):Void`

###

`source3f (source:ALSource, param:Int, value1:Float, value2:Float, value3:Float):Void`

###

`source3i (source:ALSource, param:Int, value1:Int, value2:Int, value3:Int):Void`

###

`sourcePause (source:ALSource):Void`

###

`sourcePausev (sources:Array<ALSource>):Void`

###

`sourcePlay (source:ALSource):Void`

###

`sourcePlayv (sources:Array<ALSource>):Void`

###

`sourceQueueBuffer (source:ALSource, buffer:ALBuffer):Void`

###

`sourceQueueBuffers (source:ALSource, nb:Int, buffers:Array<ALBuffer>):Void`

###

`sourceRewind (source:ALSource):Void`

###

`sourceRewindv (sources:Array<ALSource>):Void`

###

`sourceStop (source:ALSource):Void`

###

`sourceStopv (sources:Array<ALSource>):Void`

###

`sourceUnqueueBuffer (source:ALSource):Int`

###

`sourceUnqueueBuffers (source:ALSource, nb:Int):Array<ALBuffer>`

###

`sourcef (source:ALSource, param:Int, value:Float):Void`

###

`sourcefv (source:ALSource, param:Int, values:Array<Float>):Void`

###

`sourcei (source:ALSource, param:Int, value:Dynamic):Void`

###

`sourceiv (source:ALSource, param:Int, values:Array<Int>):Void`

###

`speedOfSound (value:Float):Void`