///////////////////////////////////////////////////////
| 302 | |
| 303 | //////////////////////////////////////////////////////////// |
| 304 | float SoundSource::getMinDistance() const |
| 305 | { |
| 306 | if (const auto* sound = static_cast<const ma_sound*>(getSound())) |
| 307 | return ma_sound_get_min_distance(sound); |
| 308 | |
| 309 | return 0.f; |
| 310 | } |
| 311 | |
| 312 | |
| 313 | //////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected