Audio

Constructors

this
this(string path)

Limited to Ogg files for now

Destructor

~this
~this()
Undocumented in source.

Members

Functions

pause
void pause()
play
void play(bool loop)
resume
void resume()
stop
void stop()
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

channels
uint channels [@property getter]
isPlaying
bool isPlaying [@property getter]
looping
bool looping [@property getter]
pitch
float pitch [@property getter]
pitch
float pitch [@property setter]
volume
float volume [@property getter]
volume
float volume [@property setter]

Static functions

cacheFile
void cacheFile(string path)

Limited to Ogg files for now

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

Static variables

context
ALCcontext* context;
Undocumented in source.
device
ALCdevice* device;
Undocumented in source.
scale
float scale;

What distance in units equals one meter (defaults to 1)

Variables

entity
Entity entity;
Undocumented in source.

Meta