SFML - Simple and Fast Multimedia Library
SFML
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;
269 Status getStatus()
const;
280 #endif // SFML_SOUNDSOURCE_HPP