31#include <SFML/Audio/Export.h>
32#include <SFML/Audio/SoundStatus.h>
33#include <SFML/Audio/Types.h>
34#include <SFML/System/Time.h>
35#include <SFML/System/Vector3.h>
44CSFML_AUDIO_API sfSound* sfSound_create(
void);
54CSFML_AUDIO_API sfSound* sfSound_copy(
const sfSound* sound);
62CSFML_AUDIO_API
void sfSound_destroy(sfSound* sound);
76CSFML_AUDIO_API
void sfSound_play(sfSound* sound);
87CSFML_AUDIO_API
void sfSound_pause(sfSound* sound);
99CSFML_AUDIO_API
void sfSound_stop(sfSound* sound);
112CSFML_AUDIO_API
void sfSound_setBuffer(sfSound* sound,
const sfSoundBuffer* buffer);
122CSFML_AUDIO_API
const sfSoundBuffer* sfSound_getBuffer(
const sfSound* sound);
136CSFML_AUDIO_API
void sfSound_setLoop(sfSound* sound, sfBool loop);
146CSFML_AUDIO_API sfBool sfSound_getLoop(
const sfSound* sound);
156CSFML_AUDIO_API sfSoundStatus sfSound_getStatus(
const sfSound* sound);
171CSFML_AUDIO_API
void sfSound_setPitch(sfSound* sound,
float pitch);
183CSFML_AUDIO_API
void sfSound_setVolume(sfSound* sound,
float volume);
196CSFML_AUDIO_API
void sfSound_setPosition(sfSound* sound,
sfVector3f position);
211CSFML_AUDIO_API
void sfSound_setRelativeToListener(sfSound* sound, sfBool relative);
227CSFML_AUDIO_API
void sfSound_setMinDistance(sfSound* sound,
float distance);
245CSFML_AUDIO_API
void sfSound_setAttenuation(sfSound* sound,
float attenuation);
257CSFML_AUDIO_API
void sfSound_setPlayingOffset(sfSound* sound,
sfTime timeOffset);
267CSFML_AUDIO_API
float sfSound_getPitch(
const sfSound* sound);
277CSFML_AUDIO_API
float sfSound_getVolume(
const sfSound* sound);
287CSFML_AUDIO_API
sfVector3f sfSound_getPosition(
const sfSound* sound);
298CSFML_AUDIO_API sfBool sfSound_isRelativeToListener(
const sfSound* sound);
308CSFML_AUDIO_API
float sfSound_getMinDistance(
const sfSound* sound);
318CSFML_AUDIO_API
float sfSound_getAttenuation(
const sfSound* sound);
328CSFML_AUDIO_API
sfTime sfSound_getPlayingOffset(
const sfSound* sound);
3-component vector of floats