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

Method getPan

src/SFML/Audio/SoundSource.cpp:187–193  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

185
186////////////////////////////////////////////////////////////
187float 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////////////////////////////////////////////////////////////

Callers 3

SoundSource.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected