audio-listener
Audio playback engine » Audio listener protocol

Prev:audio-orientation ( listener -- orientation )


Vocabulary
audio.engine

Class description
A tuple class that trivially implements the Audio listener protocol with accessors on its tuple slots.
position provides the audio-position.
gain provides the audio-gain.
velocity provides the audio-velocity.
orientation provides the audio-orientation.


Definition


TUPLE: audio-listener
{ position initial: { 0.0 0.0 0.0 } }
{ gain float initial: 1.0 }
{ velocity initial: { 0.0 0.0 0.0 } }
{ orientation initial: T{ audio-orientation-state } } ;


Methods