2007-11-13 18:02:18 -08:00
|
|
|
#ifndef _AL_LISTENER_H_
|
|
|
|
#define _AL_LISTENER_H_
|
|
|
|
|
|
|
|
#include "AL/al.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2007-12-17 17:55:27 -08:00
|
|
|
#define AL_METERS_PER_UNIT 0x20004
|
|
|
|
|
2007-11-13 18:02:18 -08:00
|
|
|
typedef struct ALlistener_struct
|
|
|
|
{
|
|
|
|
ALfloat Position[3];
|
|
|
|
ALfloat Velocity[3];
|
|
|
|
ALfloat Forward[3];
|
|
|
|
ALfloat Up[3];
|
|
|
|
ALfloat Gain;
|
2007-12-17 19:40:43 -08:00
|
|
|
ALfloat MetersPerUnit;
|
2007-11-13 18:02:18 -08:00
|
|
|
} ALlistener;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|