aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alListener.h
blob: ee07d87cf5a08b108415bdf4189f73205720924c (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
27
28
#ifndef _AL_LISTENER_H_
#define _AL_LISTENER_H_

#include "alMain.h"

#ifdef __cplusplus
extern "C" {
#endif

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

    struct {
        ALfloat Matrix[4][4];
        ALfloat Velocity[3];
    } Params;
} ALlistener;

#ifdef __cplusplus
}
#endif

#endif