aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SoundContext.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-30 16:32:13 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-30 16:32:13 +0100
commiteefaeb807eb5d0b08353389070bf3d27c3d0d958 (patch)
tree14938c761e14ffa776c68836a1fcbaca1a4c1571 /src/crepe/facade/SoundContext.h
parent30e2b2b0cbb503d83a087d8d326940c3c4bc8fff (diff)
test and debug audio system
Diffstat (limited to 'src/crepe/facade/SoundContext.h')
-rw-r--r--src/crepe/facade/SoundContext.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/crepe/facade/SoundContext.h b/src/crepe/facade/SoundContext.h
index 91d3fe9..c651cd5 100644
--- a/src/crepe/facade/SoundContext.h
+++ b/src/crepe/facade/SoundContext.h
@@ -24,10 +24,10 @@ public:
SoundContext & operator=(const SoundContext &) = delete;
SoundContext & operator=(SoundContext &&) = delete;
- Sound::Handle play(Sound & resource);
- void stop(Sound::Handle &);
- void set_volume(Sound &, Sound::Handle &, float);
- void set_loop(Sound &, Sound::Handle &, bool);
+ virtual Sound::Handle play(Sound & resource);
+ virtual void stop(Sound::Handle &);
+ virtual void set_volume(Sound &, Sound::Handle &, float);
+ virtual void set_loop(Sound &, Sound::Handle &, bool);
private:
SoLoud::Soloud engine;