MCPcopy Create free account
hub / github.com/SFML/SFML / isSpatializationEnabled

Method isSpatializationEnabled

src/SFML/Audio/SoundSource.cpp:207–213  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

205
206////////////////////////////////////////////////////////////
207bool SoundSource::isSpatializationEnabled() const
208{
209 if (const auto* sound = static_cast<const ma_sound*>(getSound()))
210 return ma_sound_is_spatialization_enabled(sound) == MA_TRUE;
211
212 return false;
213}
214
215
216////////////////////////////////////////////////////////////

Callers 3

SoundSource.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected