The audio.engine manages playback of prerendered and streaming audio clips. It uses OpenAL as the underlying interface to audio hardware. As clips play, their 3D location, volume, and other attributes can be updated on the fly.
An audio-engine object manages the connection to the OpenAL implementation and any playing clips:
Every audio clip has an associated source object that determines the clip's 3D position, velocity, volume, and other attributes. The engine itself has a listener that describes the position, orientation, velocity, and volume that make up the frame of reference for audio playback. Audio source protocol Audio listener protocol