audio-distance ( source -- distance )
Audio playback engine ยป Audio source protocol

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


Vocabulary
audio.engine

Inputs
sourcean object implementing the Audio source protocol


Outputs
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