Cleanup in content_mapblock (#5746)
[oweals/minetest.git] / src / sound.h
index 7bdb6a26bb4afd57cc6250594311907e6566e284..76c0d1be4cfd5e8d9a8ff76fd176c680de800dcd 100644 (file)
@@ -65,8 +65,8 @@ public:
        // sound. If name=="", call should be ignored without error.
        virtual int playSound(const std::string &name, bool loop, float volume,
                        float fade = 0) = 0;
-       virtual int playSoundAt(const std::string &name, bool loop, float volume,
-                       v3f pos) = 0;
+       virtual int playSoundAt(
+                       const std::string &name, bool loop, float volume, v3f pos) = 0;
        virtual void stopSound(int sound) = 0;
        virtual bool soundExists(int sound) = 0;
        virtual void updateSoundPosition(int sound, v3f pos) = 0;
@@ -111,8 +111,8 @@ public:
        void updateSoundPosition(int sound, v3f pos) {}
        bool updateSoundGain(int id, float gain) { return false; }
        float getSoundGain(int id) { return 0; }
-       void step(float dtime) { }
-       void fadeSound(int sound, float step, float gain) { }
+       void step(float dtime) {}
+       void fadeSound(int sound, float step, float gain) {}
 };
 
 // Global DummySoundManager singleton