From 2210d0aabc5a45a99ac5072a46c7237cb20cbfd9 Mon Sep 17 00:00:00 2001 From: Xavier Mitault Date: Wed, 1 Nov 2023 19:44:07 +0000 Subject: [PATCH] BLUGA-GRAPHICS: Fix --- .../B-luga-graphics/Raylib/Audio/Audio.cpp | 2 +- .../B-luga-graphics/Raylib/Audio/Audio.hpp | 30 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/libs/B-luga-graphics/include/B-luga-graphics/Raylib/Audio/Audio.cpp b/libs/B-luga-graphics/include/B-luga-graphics/Raylib/Audio/Audio.cpp index 15bce11..c8f3460 100644 --- a/libs/B-luga-graphics/include/B-luga-graphics/Raylib/Audio/Audio.cpp +++ b/libs/B-luga-graphics/include/B-luga-graphics/Raylib/Audio/Audio.cpp @@ -32,7 +32,7 @@ namespace Raylib { SetMasterVolume(volume); } - std::unique_ptr Sound::fromFile(const std::string& fileName, float volume) + std::unique_ptr Sound::fromFile(const std::string& fileName, float volume) { return std::make_unique(fileName, volume); } diff --git a/libs/B-luga-graphics/include/B-luga-graphics/Raylib/Audio/Audio.hpp b/libs/B-luga-graphics/include/B-luga-graphics/Raylib/Audio/Audio.hpp index 7909c11..e6394b0 100644 --- a/libs/B-luga-graphics/include/B-luga-graphics/Raylib/Audio/Audio.hpp +++ b/libs/B-luga-graphics/include/B-luga-graphics/Raylib/Audio/Audio.hpp @@ -58,34 +58,34 @@ namespace Raylib { virtual void unload() = 0; - virtual bool isReady() const; + virtual bool isReady() const = 0; - virtual void play() const; + virtual void play() const = 0; - virtual bool isPlaying() const; + virtual bool isPlaying() const = 0; - virtual void update() const; + virtual void update() const = 0; - virtual void stop() const; + virtual void stop() const = 0; - virtual void pause() const; + virtual void pause() const = 0; - virtual void resume() const; + virtual void resume() const = 0; - virtual void setVolume(float volume) const; + virtual void setVolume(float volume) const = 0; - virtual void setPitch(float pitch) const; + virtual void setPitch(float pitch) const = 0; - virtual void setPan(float pan) const; + virtual void setPan(float pan) const = 0; - virtual float getTimeLength() const; + virtual float getTimeLength() const = 0; - virtual float getTimePlayed() const; + virtual float getTimePlayed() const = 0; - virtual bool NeedToPlay() const; + virtual bool NeedToPlay() const = 0; - virtual void setNeedToPlay(bool needToPlay); + virtual void setNeedToPlay(bool needToPlay) = 0; - virtual const std::string &getPath() const; + virtual const std::string &getPath() const = 0; }; } // namespace Raylib