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>
44 CSFML_AUDIO_API sfSound* sfSound_create(
void);
54 CSFML_AUDIO_API sfSound* sfSound_copy(
const sfSound* sound);
62 CSFML_AUDIO_API
void sfSound_destroy(sfSound* sound);
76 CSFML_AUDIO_API
void sfSound_play(sfSound* sound);
87 CSFML_AUDIO_API
void sfSound_pause(sfSound* sound);
99 CSFML_AUDIO_API
void sfSound_stop(sfSound* sound);
112 CSFML_AUDIO_API
void sfSound_setBuffer(sfSound* sound,
const sfSoundBuffer* buffer);
122 CSFML_AUDIO_API
const sfSoundBuffer* sfSound_getBuffer(
const sfSound* sound);
136 CSFML_AUDIO_API
void sfSound_setLoop(sfSound* sound, sfBool loop);
146 CSFML_AUDIO_API sfBool sfSound_getLoop(
const sfSound* sound);
156 CSFML_AUDIO_API sfSoundStatus sfSound_getStatus(
const sfSound* sound);
171 CSFML_AUDIO_API
void sfSound_setPitch(sfSound* sound,
float pitch);
183 CSFML_AUDIO_API
void sfSound_setVolume(sfSound* sound,
float volume);
196 CSFML_AUDIO_API
void sfSound_setPosition(sfSound* sound,
sfVector3f position);
211 CSFML_AUDIO_API
void sfSound_setRelativeToListener(sfSound* sound, sfBool relative);
227 CSFML_AUDIO_API
void sfSound_setMinDistance(sfSound* sound,
float distance);
245 CSFML_AUDIO_API
void sfSound_setAttenuation(sfSound* sound,
float attenuation);
257 CSFML_AUDIO_API
void sfSound_setPlayingOffset(sfSound* sound,
sfTime timeOffset);
267 CSFML_AUDIO_API
float sfSound_getPitch(
const sfSound* sound);
277 CSFML_AUDIO_API
float sfSound_getVolume(
const sfSound* sound);
287 CSFML_AUDIO_API
sfVector3f sfSound_getPosition(
const sfSound* sound);
298 CSFML_AUDIO_API sfBool sfSound_isRelativeToListener(
const sfSound* sound);
308 CSFML_AUDIO_API
float sfSound_getMinDistance(
const sfSound* sound);
318 CSFML_AUDIO_API
float sfSound_getAttenuation(
const sfSound* sound);
328 CSFML_AUDIO_API
sfTime sfSound_getPlayingOffset(
const sfSound* sound);
331 #endif // SFML_SOUND_H