00001 #ifndef MM_LISTENER_H
00002 #define MM_LISTENER_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include "math/vector3.h"
00013 #include "AudioException.h"
00014 namespace MMAudio {
00023 class Listener {
00024 public:
00028 float getGain(void) ;
00032 void setGain(float f) ;
00033
00037 Vector3 getPosition(void) ;
00041 void setPosition(Vector3 fv) ;
00042
00046 Vector3 getVelocity(void) ;
00050 void setVelocity(Vector3 fv) ;
00051
00055 void getOrientation(Vector3& at, Vector3& up) ;
00059 void setOrientation(const Vector3& at, const Vector3& up) ;
00060 };
00061 }
00063 #endif
00064