1 #ifndef __SOUND_SOURCE_H__
2 #define __SOUND_SOURCE_H__
5 #include "math/vector.hpp"
11 virtual ~SoundSource();
17 virtual void update();
19 void set_looping(bool looping);
20 /// Set volume (0.0 is silent, 1.0 is normal)
21 void set_gain(float gain);
22 void set_position(Vector position);
23 void set_velocity(Vector position);
24 void set_reference_distance(float distance);
27 friend class SoundManager;