ALSource

OpenAL Source backend

Constructors

this
this()
Undocumented in source.

Members

Functions

_cleanup
void _cleanup()
Undocumented in source. Be warned that the author may not have intended to support it.
_setSound
void _setSound(Sound sound)
Undocumented in source. Be warned that the author may not have intended to support it.
hasFinishedPlaying
bool hasFinishedPlaying()
Undocumented in source. Be warned that the author may not have intended to support it.
pause
void pause()
Undocumented in source. Be warned that the author may not have intended to support it.
play
void play()
Undocumented in source. Be warned that the author may not have intended to support it.
setLooping
void setLooping(bool loop)
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

source
ALuint source;
Undocumented in source.

Inherited Members

From Source

_location
Vec3 _location;
Undocumented in source.
sound
Sound sound;
Undocumented in source.
location
Vec3 location [@property getter]

The location of the source.

location
Vec3 location [@property setter]

The location of the source.

newSource
deprecated Source newSource(Vec3 location)

Create a new source. The backend class will automatically be determined.

setSound
void setSound(Sound sound)

Set the Sound that this Source plays.

_setSound
void _setSound(Sound sound)
Undocumented in source.
setLooping
void setLooping(bool loop)

Set if the Source should loop the Sound.

play
void play()

Plays the Sound that belongs to this Source.

pause
void pause()

Pause the Sound that is playing.

stop
void stop()

Stops playing the Sound.

hasFinishedPlaying
bool hasFinishedPlaying()
cleanup
void cleanup()

Cleans up the resources used by the Source.

_cleanup
void _cleanup()
Undocumented in source.

Meta