fix cr/lfs and remove trailing whitespaces...
[supertux.git] / src / audio / stream_sound_source.hpp
index de3b865..aa621b3 100644 (file)
@@ -46,17 +46,16 @@ public:
   void set_looping(bool looping)
   {
     this->looping = looping;
-    alSourcei(source, AL_LOOPING, looping ? AL_TRUE : AL_FALSE);
   }
   bool get_looping() const
   {
     return looping;
   }
-  
+
 private:
   static const size_t STREAMBUFFERSIZE = 1024 * 500;
   static const size_t STREAMFRAGMENTS = 5;
-  static const size_t STREAMFRAGMENTSIZE 
+  static const size_t STREAMFRAGMENTSIZE
     = STREAMBUFFERSIZE / STREAMFRAGMENTS;
 
   bool fillBufferAndQueue(ALuint buffer);
@@ -70,4 +69,3 @@ private:
 };
 
 #endif
-