aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SoundContext.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-30 16:42:21 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-30 16:42:21 +0100
commit9eff2e24fa4cf0ffad2b47cc922a6558bc1a9fa1 (patch)
treee673cba5f221523d37f51b67a155abfc0c415eb3 /src/crepe/facade/SoundContext.cpp
parentf7d70abf3fee5933034d93f594f898849c5273ad (diff)
`make format`
Diffstat (limited to 'src/crepe/facade/SoundContext.cpp')
-rw-r--r--src/crepe/facade/SoundContext.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/crepe/facade/SoundContext.cpp b/src/crepe/facade/SoundContext.cpp
index 3ae5956..470b3cc 100644
--- a/src/crepe/facade/SoundContext.cpp
+++ b/src/crepe/facade/SoundContext.cpp
@@ -21,9 +21,7 @@ Sound::Handle SoundContext::play(Sound & resource) {
};
}
-void SoundContext::stop(Sound::Handle & handle) {
- this->engine.stop(handle.handle);
-}
+void SoundContext::stop(Sound::Handle & handle) { this->engine.stop(handle.handle); }
void SoundContext::set_volume(Sound & resource, Sound::Handle & handle, float volume) {
this->engine.setVolume(handle.handle, volume);
@@ -33,4 +31,3 @@ void SoundContext::set_volume(Sound & resource, Sound::Handle & handle, float vo
void SoundContext::set_loop(Sound & resource, Sound::Handle & handle, bool loop) {
this->engine.setLooping(handle.handle, loop);
}
-