attribute(AL_LOOPING, l);
}
+void Source::set_gain(float g)
+{
+ attribute(AL_GAIN, g);
+}
+
+void Source::set_rolloff_factor(float f)
+{
+ attribute(AL_ROLLOFF_FACTOR, f);
+}
+
void Source::set_buffer(const Buffer &buffer)
{
attribute(AL_BUFFER, static_cast<int>(buffer.get_id()));