1 #ifndef MSP_AL_SOURCE_H_
2 #define MSP_AL_SOURCE_H_
22 Represents an audio source in the 3D environment.
33 SourceState get_state() const;
34 void set_position(float, float, float);
35 void set_velocity(float, float, float);
37 void set_rolloff_factor(float);
39 void set_buffer(const Buffer &);
40 void queue_buffers(const std::vector<const Buffer *> &);
41 void queue_buffer(const Buffer &);
42 void unqueue_buffers(const std::vector<const Buffer *> &);
43 void unqueue_buffer(const Buffer &);
45 unsigned get_buffers_queued() const;
46 unsigned get_buffers_processed() const;
48 void set_looping(bool);