///////////////////////////////////////////////////////
| 175 | |
| 176 | //////////////////////////////////////////////////////////// |
| 177 | float SoundSource::getPitch() const |
| 178 | { |
| 179 | if (const auto* sound = static_cast<const ma_sound*>(getSound())) |
| 180 | return ma_sound_get_pitch(sound); |
| 181 | |
| 182 | return 0.f; |
| 183 | } |
| 184 | |
| 185 | |
| 186 | //////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected