This class implements a 3D vector.
Definition: CVector3d.h:88
bool open()
This method opens this audio device context.
Definition: CAudioDevice.cpp:103
bool close()
This method closes this audio device context.
Definition: CAudioDevice.cpp:144
cVector3d m_listenerPos
Position of listener in world coordinates.
Definition: CAudioDevice.h:153
Implements an audio Buffer.
Implements of an audio source.
bool setListenerPos(const cVector3d &a_listenerPos)
This method sets the position of the listener in world coordinates.
Definition: CAudioDevice.cpp:181
bool setListenerRot(const cMatrix3d &a_listenerRot)
This method sets the orientation of the listener in world coordinates.
Definition: CAudioDevice.cpp:210
cMatrix3d getListenerRot()
This method returns the position of the listener in world coordinates.
Definition: CAudioDevice.h:115
This class implements a 3D matrix.
Definition: CMatrix3d.h:97
virtual ~cAudioDevice()
Destructor of cAudioDevice.
Definition: CAudioDevice.cpp:89
void * m_device
Audio device (of type ALCdevice*).
Definition: CAudioDevice.h:147
cAudioDevice(bool a_createAudioContext=true)
Constructor of cAudioDevice.
Definition: CAudioDevice.cpp:69
cVector3d getListenerVel()
This method sets the linear velocity of the listener in world coordinates.
Definition: CAudioDevice.h:121
cMatrix3d m_listenerRot
Orientation of listener in world coordinates.
Definition: CAudioDevice.h:156
This class implements an audio device context.
Definition: CAudioDevice.h:81
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
Definition: CAudioBuffer.cpp:56
cVector3d getListenerPos()
This method returns the position of the listener in world coordinates.
Definition: CAudioDevice.h:106
bool setListenerVel(const cVector3d &a_listenerVel)
This method sets the linear velocity of the listener in world coordinates.
Definition: CAudioDevice.cpp:262
bool m_createAudioContext
Flag which indicates if this audio device has created an audio context.
Definition: CAudioDevice.h:165
bool m_active
Flag that indicates if the connection to audio device was opened successfully by calling method open(...
Definition: CAudioDevice.h:162
bool checkError()
This method checks for any OpenAL errors.
Definition: CAudioDevice.cpp:289