audio-distance ( source -- distance )
Audio playback engine > Audio source protocol

Prev:audio-relative? ( source -- relative? )
Next:audio-rolloff ( source -- rolloff )


Vocabulary
audio.engine

Inputs and outputs
sourcean object implementing the Audio source protocol
distancea float


Word description
Returns the reference distance (that is, the distance from the listener below which the clip plays at full volume) for a playing audio clip. Larger reference distances make the clip play louder at further distances from the listener.

Definition

GENERIC: audio-distance ( source -- distance )


Methods