3 This file is part of libmspal
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
13 void Listener::attribute(ALenum attr, float v)
18 void Listener::attribute(ALenum attr, float v0, float v1, float v2)
20 alListener3f(attr, v0, v1, v2);
23 void Listener::attribute(ALenum attr, const float *v)
25 alListenerfv(attr, v);
28 void Listener::set_position(float x, float y, float z)
30 attribute(AL_POSITION, x, y, z);
33 void Listener::set_gain(float g)
35 attribute(AL_GAIN, g);