| 399 | float AbyssEngine::getSoundEffectsVolumeLevel() const { return _soundEffectsAudioLevel; } |
| 400 | |
| 401 | void AbyssEngine::setSoundEffectsVolumeLevel(const float level) { |
| 402 | _soundEffectsAudioLevel = std::clamp(level, 0.0f, 1.0f); |
| 403 | _soundEffectsAudioLevelActual = std::pow(_soundEffectsAudioLevel, 2.0f); |
| 404 | } |
| 405 | |
| 406 | void AbyssEngine::addSoundEffect(Common::SoundEffectInterface *soundEffect) { _soundEffects.push_back(soundEffect); } |
| 407 |
nothing calls this directly
no outgoing calls
no test coverage detected