Implements an audio Buffer.
Implements of an audio source.
This class implements an audio device context.
Definition CAudioDevice.h:82
cVector3d getListenerVel()
This method sets the linear velocity of the listener in world coordinates.
Definition CAudioDevice.h:121
void * m_context
Audio context (of type ALCcontext*).
Definition CAudioDevice.h:150
cVector3d m_listenerVel
Linear velocity of listener in world coordinates.
Definition CAudioDevice.h:159
bool checkError()
This method checks for any OpenAL errors.
Definition CAudioDevice.cpp:313
bool close()
This method closes this audio device context.
Definition CAudioDevice.cpp:148
virtual ~cAudioDevice()
Destructor of cAudioDevice.
Definition CAudioDevice.cpp:89
cVector3d getListenerPos()
This method returns the position of the listener in world coordinates.
Definition CAudioDevice.h:106
bool m_createAudioContext
Flag which indicates if this audio device has created an audio context.
Definition CAudioDevice.h:165
void * m_device
Audio device (of type ALCdevice*).
Definition CAudioDevice.h:147
bool setListenerRot(const cMatrix3d &a_listenerRot)
This method sets the orientation of the listener in world coordinates.
Definition CAudioDevice.cpp:222
bool m_active
Flag that indicates if the connection to audio device was opened successfully by calling method open(...
Definition CAudioDevice.h:162
cVector3d m_listenerPos
Position of listener in world coordinates.
Definition CAudioDevice.h:153
cMatrix3d getListenerRot()
This method returns the position of the listener in world coordinates.
Definition CAudioDevice.h:115
bool setListenerPos(const cVector3d &a_listenerPos)
This method sets the position of the listener in world coordinates.
Definition CAudioDevice.cpp:189
cMatrix3d m_listenerRot
Orientation of listener in world coordinates.
Definition CAudioDevice.h:156
bool open()
This method opens this audio device context.
Definition CAudioDevice.cpp:103
bool setListenerVel(const cVector3d &a_listenerVel)
This method sets the linear velocity of the listener in world coordinates.
Definition CAudioDevice.cpp:282
Definition CAudioBuffer.cpp:57
This class implements a 3D matrix.
Definition CMatrix3d.h:98
This class implements a 3D vector.
Definition CVector3d.h:89