Device

Audio playback context. Some global parameters of sound and music are set from it.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

allocSource
void allocSource(uint source)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()

Closes the device. (Make sure that all sounds have been cleared from memory before this).

destroySource
void destroySource(uint source)
Undocumented in source. Be warned that the author may not have intended to support it.
open
void open()

Opens and prepares the device for work.

stopAll
void stopAll()

Stops all sound sources

Properties

context
ALCcontext* context [@property getter]

Context object.

device
ALCdevice* device [@property getter]

Device object.

position
Vector!float position [@property setter]
Vector!float position [@property getter]

The position of the main listener in space.

Meta