MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / getVolume

Method getVolume

src/Abyss/Streams/SoundEffect.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32void SoundEffect::setLoop(const bool looping) { _audioStream->setLoop(looping); }
33
34float SoundEffect::getVolume() {
35 std::lock_guard lock(_mutex);
36 return _volume;
37}
38
39void SoundEffect::setVolume(const float volume) {
40 std::lock_guard lock(_mutex);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected