-/* $Id$
-
-This file is part of libmspal
-Copyright © 2008 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef MSP_AL_SOURCE_H_
#define MSP_AL_SOURCE_H_
Source();
~Source();
- void attribute(ALenum, int);
- void attribute(ALenum, float);
- void attribute(ALenum, float, float, float);
- void attribute(ALenum, const float *);
- void get_attribute(ALenum, int *) const;
- void get_attribute(ALenum, float *) const;
-
SourceState get_state() const;
void set_position(float, float, float);
+ void set_velocity(float, float, float);
void set_gain(float);
-
void set_rolloff_factor(float);
+
void set_buffer(const Buffer &);
void queue_buffers(const std::vector<const Buffer *> &);
void queue_buffer(const Buffer &);