///////////////////////////////////////////////////////
| 332 | |
| 333 | //////////////////////////////////////////////////////////// |
| 334 | float SoundSource::getMaxGain() const |
| 335 | { |
| 336 | if (const auto* sound = static_cast<const ma_sound*>(getSound())) |
| 337 | return ma_sound_get_max_gain(sound); |
| 338 | |
| 339 | return 0.f; |
| 340 | } |
| 341 | |
| 342 | |
| 343 | //////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected