25 #ifndef SFML_SOUNDSOURCE_HPP
26 #define SFML_SOUNDSOURCE_HPP
31 #include <SFML/Audio/Export.hpp>
32 #include <SFML/Audio/AlResource.hpp>
33 #include <SFML/System/Vector3.hpp>
85 void setPitch(
float pitch);
98 void setVolume(
float volume);
114 void setPosition(
float x,
float y,
float z);
128 void setPosition(
const Vector3f& position);
144 void setRelativeToListener(
bool relative);
161 void setMinDistance(
float distance);
180 void setAttenuation(
float attenuation);
190 float getPitch()
const;
200 float getVolume()
const;
221 bool isRelativeToListener()
const;
231 float getMinDistance()
const;
241 float getAttenuation()
const;
259 Status getStatus()
const;
270 #endif // SFML_SOUNDSOURCE_HPP
Base class for classes that require an OpenAL context.
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.