Handbook
Glossary
audio-relative? ( source -- relative? )
Audio playback engine
ยป
Audio source protocol
Prev:
audio-velocity ( source/listener -- velocity )
Next:
audio-distance ( source -- distance )
Vocabulary
audio
.
engine
Inputs
source
an object implementing the
Audio source protocol
Outputs
relative?
a
boolean
Word description
If true, the
audio-position
and
audio-velocity
of the clip will be taken as being relative to the listener instead of in world space.
Definition
IN:
audio.engine
GENERIC:
audio-relative?
( source -- relative? )
Methods
USING:
accessors
audio.engine
;
M:
audio-source
audio-relative?
relative?>>
;
inline
USING:
audio.engine
kernel
;
M:
object
audio-relative?
drop
f
;
inline