Common part between webaudio and OpenAL emulator - AudioContext and masterGain.

Static variables

staticdestination:AudioNode

staticmasterGain:GainNode

Static methods

staticget():AudioContext

staticgetBuffer(channels:Int, sampleCount:Int, rate:Int):AudioBuffer

Returns free AudioBuffer instance corresponding to sample count, amount of channels and sample-rate.

staticinlinegetGain():GainNode

staticputBuffer(buf:AudioBuffer):Void

Puts AudioBuufer back to it's pool.

staticinlineputGain(gain:GainNode):Void