///////////////////////////////////////////////////////
| 185 | |
| 186 | //////////////////////////////////////////////////////////// |
| 187 | float SoundSource::getPan() const |
| 188 | { |
| 189 | if (const auto* sound = static_cast<const ma_sound*>(getSound())) |
| 190 | return ma_sound_get_pan(sound); |
| 191 | |
| 192 | return 0.f; |
| 193 | } |
| 194 | |
| 195 | |
| 196 | //////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected