Bind an audio buffer, or copy a Sound's attributes and buffer reference.
bufferOrSourceProtected ReadonlytimesProtected ReadonlyvaluesStatic ReadonlyConeDirectional cone configuration type.
Static ReadonlyStatusPlayback status enumeration.
Copy attributes and buffer binding; stop and rewind this Sound.
sourceProtectedcommandcommandProtectedfieldfieldwriteProtectedgetfieldReturn the distance attenuation factor.
Return a read-only reference to the currently bound buffer.
Return the directional attenuation factor.
Return the Doppler effect multiplier.
Return the maximum distance.
Return the maximum gain.
Return the minimum reference distance.
Return the minimum gain.
Return the stereo pan.
Return the pitch multiplier.
Return the volume percentage.
Return whether playback loops.
Return whether listener-relative coordinates are used.
Return whether spatialization is enabled.
Pause and retain the playback position.
Start or resume playback; if already playing, restart per SFML semantics.
Set the distance attenuation factor; 0 disables distance attenuation.
valueReplace and retain the audio buffer reference, updating the native source.
bufferSet the inner and outer cone angles and outer gain, updating the native audio engine.
valueSet the sound source's emission direction.
valueSet the factor controlling the source direction's effect on attenuation.
valueSet the Doppler effect multiplier; 0 disables it.
valueBind and retain an effect processor reference; undefined removes it.
processorOptionalSet whether playback loops after reaching the end.
valueSet the maximum distance used for distance attenuation.
valueSet the maximum gain after distance attenuation.
valueSet the minimum reference distance at which maximum volume is maintained.
valueSet the minimum gain after distance attenuation.
valueSet stereo pan: -1 is left, 0 is center, and 1 is right.
valueSet the pitch and playback rate multiplier; 1 is the original rate.
valueSet the playback time relative to the beginning of the sound.
valueSet the 3D position using the same units as the listener and distances.
valueSet whether the position is relative to the listener; false uses world coordinates.
valueEnable or disable spatial effects from position, distance, and direction.
valueSet the 3D velocity for the Doppler effect, in position units per second.
valueSet volume as a percentage; 0 is silent and 100 is the original volume.
valueStop and reset the playback position to zero.
Play short sound effects from memory, holding a SoundBuffer to retain sample storage.