#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/sound/al_Speaker.hpp>
|
| | Speaker (unsigned int deviceChan=0, float az=0.f, float el=0.f, int group=0, float radius=1.f, float gain=1.f) |
| |
|
template<class T > |
| Speaker & | posCart (T *xyz) |
| | Get position in Cartesian coordinate (in audio space)
|
| |
|
void | posCart2 (Vec3d xyz) |
| |
|
Vec3d | vec () const |
| | Get position as Cartesian coordinate (in audio space)
|
| |
|
Vec3d | vecGraphics () const |
| | Get position as Cartesian coordinate (in graphics space)
|
| |
|
|
static double | toRad (double d) |
| |
|
static float | toRad (float d) |
| |
|
|
unsigned int | deviceChannel |
| | Index in the output device channels array.
|
| |
|
float | azimuth |
| | Angle from forward to right vector (i.e. CW)
|
| |
| float | elevation |
| |
|
int | group |
| | Group identifier.
|
| |
|
float | radius |
| | Distance from center of listening space.
|
| |
|
float | gain |
| | Gain of speaker.
|
| |
Spatial definition of a speaker in a listening space
Definition at line 58 of file al_Speaker.hpp.
◆ Speaker()
| al::Speaker::Speaker |
( |
unsigned int |
deviceChan = 0, |
|
|
float |
az = 0.f, |
|
|
float |
el = 0.f, |
|
|
int |
group = 0, |
|
|
float |
radius = 1.f, |
|
|
float |
gain = 1.f |
|
) |
| |
- Parameters
-
| [in] | deviceChan | audio device output channel |
| [in] | az | azimuth of speaker |
| [in] | el | elevation of speaker |
| [in] | radius | radius of speaker |
| [in] | gain | gain of speaker |
◆ elevation
| float al::Speaker::elevation |
Angle from forward-right plane to up vector (0 is "horizon")
Definition at line 62 of file al_Speaker.hpp.
The documentation for this class was generated from the following file: