2007-11-13 18:02:18 -08:00
|
|
|
#ifndef _AL_LISTENER_H_
|
|
|
|
#define _AL_LISTENER_H_
|
|
|
|
|
2012-09-14 02:42:36 -07:00
|
|
|
#include "alMain.h"
|
2007-11-13 18:02:18 -08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-10-09 04:48:12 -07:00
|
|
|
typedef struct ALlistener {
|
2011-09-11 01:26:09 -07:00
|
|
|
volatile ALfloat Position[3];
|
|
|
|
volatile ALfloat Velocity[3];
|
|
|
|
volatile ALfloat Forward[3];
|
|
|
|
volatile ALfloat Up[3];
|
2011-10-30 08:27:24 -07:00
|
|
|
volatile ALfloat Matrix[4][4];
|
2011-08-31 00:33:33 -07:00
|
|
|
volatile ALfloat Gain;
|
|
|
|
volatile ALfloat MetersPerUnit;
|
2007-11-13 18:02:18 -08:00
|
|
|
} ALlistener;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|