aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alListener.h
blob: d22261fa22ece4175490569fd88297707dcaa3ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _AL_LISTENER_H_
#define _AL_LISTENER_H_

#include "AL/al.h"

#ifdef __cplusplus
extern "C" {
#endif

#define AL_METERS_PER_UNIT                                 0x20004

typedef struct ALlistener_struct
{
    ALfloat Position[3];
    ALfloat Velocity[3];
    ALfloat Forward[3];
    ALfloat Up[3];
    ALfloat Gain;
    ALfloat MetersPerUnit;
} ALlistener;

#ifdef __cplusplus
}
#endif

#endif