The most senseless commit ever
[supertux.git] / src / audio / sound_source.cpp
index 01243be..9864894 100644 (file)
@@ -88,6 +88,12 @@ SoundSource::set_gain(float gain)
 }
 
 void
+SoundSource::set_pitch(float pitch)
+{
+  alSourcef(source, AL_PITCH, pitch);
+}
+
+void
 SoundSource::set_reference_distance(float distance)
 {
   alSourcef(source, AL_REFERENCE_DISTANCE, distance);