25 #ifndef SFML_SOUNDSOURCE_HPP
26 #define SFML_SOUNDSOURCE_HPP
31 #include <SFML/Audio/Export.hpp>
32 #include <SFML/System/Vector3.hpp>
84 void setPitch(
float pitch);
97 void setVolume(
float volume);
113 void setPosition(
float x,
float y,
float z);
127 void setPosition(
const Vector3f& position);
143 void setRelativeToListener(
bool relative);
160 void setMinDistance(
float distance);
179 void setAttenuation(
float attenuation);
189 float getPitch()
const;
199 float getVolume()
const;
220 bool isRelativeToListener()
const;
230 float getMinDistance()
const;
240 float getAttenuation()
const;
258 Status getStatus()
const;
269 #endif // SFML_SOUNDSOURCE_HPP
unsigned int m_source
OpenAL source identifier.
Status
Enumeration of the sound source states.
Base class defining a sound's properties.
Utility template class for manipulating 3-dimensional vectors.