diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-01 17:27:14 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-01 17:27:14 +0200 |
commit | 65eda52aa51017f6f7aad158c4f8b6e91054cf0d (patch) | |
tree | a668f9374ef61a502bf691e3b13510d1dc9efca9 /src/crepe/api/AudioSource.cpp | |
parent | 8e67adc6828181b1df7c95da76f32962444fc7fd (diff) |
`make format`
Diffstat (limited to 'src/crepe/api/AudioSource.cpp')
-rw-r--r-- | src/crepe/api/AudioSource.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/crepe/api/AudioSource.cpp b/src/crepe/api/AudioSource.cpp index cbde79f..4d1b093 100644 --- a/src/crepe/api/AudioSource.cpp +++ b/src/crepe/api/AudioSource.cpp @@ -9,9 +9,7 @@ AudioSource::AudioSource(std::unique_ptr<Resource> audio_clip) { this->_sound = std::make_unique<crepe::Sound>(std::move(audio_clip)); } -void AudioSource::play() { - return this->play(false); -} +void AudioSource::play() { return this->play(false); } void AudioSource::play(bool looping) { this->_sound->set_looping(looping); @@ -22,4 +20,3 @@ void AudioSource::stop() { this->_sound->pause(); this->_sound->rewind(); } - |