3 This file is part of libmspal
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_AL_SOURCE_H_
9 #define MSP_AL_SOURCE_H_
37 void attribute(ALenum, int);
38 void attribute(ALenum, float);
39 void attribute(ALenum, float, float, float);
40 void attribute(ALenum, const float *);
41 void get_attribute(ALenum, int *) const;
42 void get_attribute(ALenum, float *) const;
43 SourceState get_state() const;
44 unsigned get_buffers_queued() const;
45 unsigned get_buffers_processed() const;
46 void set_position(float, float, float);
47 void set_looping(bool);
48 void set_buffer(const Buffer &);
49 void queue_buffers(const std::vector<const Buffer *> &);
50 void queue_buffer(const Buffer &);
51 void unqueue_buffers(const std::vector<const Buffer *> &);
52 void unqueue_buffer(const Buffer &);