GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
audio_listener(3) Arcan Lua API audio_listener(3)

audio_listener - Bind the current device listener to a positioner video object

nil
audio_listener( vid:reference )

This is used in tandem with audio_position to provide spatial audio. The referenced object position, orientation and transforms will translate and apply to the listener position in the audio space.

1
The actual effect will depend on your hardware and audio platform build configuration.

function audio_listener0()

local ref = null_surface(1, 1)
local aid = load_asample("test.wav")
move3d_model(ref, 0, 100, 0, 500)
rotate3d_model(ref, 45, 45, 45, 500)
audio_listener(ref) end

audio_position(3)

July 2025 audio

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.