blocksound ~master (2016-10-20T14:02:45Z)
Dub
Repo
ALAudioBackend
blocksound
backend
openal
Class to manage the OpenAL Audio backend.
version(blocksound_ALBackend)
class
ALAudioBackend :
AudioBackend
{
protected
ALCdevice
*
device
;
protected
ALCcontext
*
context
;
this
();
void
setListenerLocation
(Vec3 loc);
void
setListenerGain
(float gain);
void
cleanup
();
}
Constructors
this
this
()
Create a new ALBackend. One per thread.
Members
Functions
cleanup
void
cleanup
()
Undocumented in source. Be warned that the author may not have intended to support it.
setListenerGain
void
setListenerGain
(float gain)
Undocumented in source. Be warned that the author may not have intended to support it.
setListenerLocation
void
setListenerLocation
(Vec3 loc)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
context
ALCcontext
*
context
;
Undocumented in source.
device
ALCdevice
*
device
;
Undocumented in source.
Inherited Members
From AudioBackend
setListenerLocation
void
setListenerLocation
(Vec3 loc)
Undocumented in source.
setListenerGain
void
setListenerGain
(float gain)
Undocumented in source.
cleanup
void
cleanup
()
Undocumented in source.
Meta
Source
See Implementation
blocksound
backend
openal
classes
ALAudioBackend
ALSound
ALSource
ALStreamedSound
ALStreamingSource
functions
loadLibraries
loadSoundToBuffer
sndfile_readFloats
sndfile_readShorts
streamSoundThread
structs
AudioBuffer
AudioBufferFloat
Class to manage the OpenAL Audio backend.