diff OpenAL32/Include/alListener.h @ 0:f9476ff7637e

initial forking of open-al to create multiple listeners
author Robert McIntyre <rlm@mit.edu>
date Tue, 25 Oct 2011 13:02:31 -0700
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/OpenAL32/Include/alListener.h	Tue Oct 25 13:02:31 2011 -0700
     1.3 @@ -0,0 +1,24 @@
     1.4 +#ifndef _AL_LISTENER_H_
     1.5 +#define _AL_LISTENER_H_
     1.6 +
     1.7 +#include "AL/al.h"
     1.8 +
     1.9 +#ifdef __cplusplus
    1.10 +extern "C" {
    1.11 +#endif
    1.12 +
    1.13 +typedef struct ALlistener_struct
    1.14 +{
    1.15 +    ALfloat Position[3];
    1.16 +    ALfloat Velocity[3];
    1.17 +    ALfloat Forward[3];
    1.18 +    ALfloat Up[3];
    1.19 +    ALfloat Gain;
    1.20 +    ALfloat MetersPerUnit;
    1.21 +} ALlistener;
    1.22 +
    1.23 +#ifdef __cplusplus
    1.24 +}
    1.25 +#endif
    1.26 +
    1.27 +#endif