Build the listener matrix separately
[openal-soft.git] / OpenAL32 / Include / alListener.h
blob830b70daed93e18d52f8a52049aa225ec8c99ced
1 #ifndef _AL_LISTENER_H_
2 #define _AL_LISTENER_H_
4 #include "alMain.h"
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 typedef struct ALlistener {
11 volatile ALfloat Position[3];
12 volatile ALfloat Velocity[3];
13 volatile ALfloat Forward[3];
14 volatile ALfloat Up[3];
15 volatile ALfloat Gain;
16 volatile ALfloat MetersPerUnit;
18 struct {
19 ALfloat Matrix[4][4];
20 } Params;
21 } ALlistener;
23 #ifdef __cplusplus
25 #endif
27 #endif