///////////////////////////////////////////////////////
| 195 | |
| 196 | //////////////////////////////////////////////////////////// |
| 197 | float SoundSource::getVolume() const |
| 198 | { |
| 199 | if (const auto* sound = static_cast<const ma_sound*>(getSound())) |
| 200 | return ma_sound_get_volume(sound) * 100.f; |
| 201 | |
| 202 | return 0.f; |
| 203 | } |
| 204 | |
| 205 | |
| 206 | //////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected