///////////////////////////////////////////////////////
| 272 | |
| 273 | //////////////////////////////////////////////////////////// |
| 274 | float SoundSource::getDopplerFactor() const |
| 275 | { |
| 276 | if (const auto* sound = static_cast<const ma_sound*>(getSound())) |
| 277 | return ma_sound_get_doppler_factor(sound); |
| 278 | |
| 279 | return 0.f; |
| 280 | } |
| 281 | |
| 282 | |
| 283 | //////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected