Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<openal_device_openopenal_listener_set>
^OpenAL FunctionsLast updated: Mon, 26 Oct 2026

openal_listener_get

(PECL openal >= 0.1.0)

openal_listener_get — Retrieve a listener property

Description

function openal_listener_get(int $property): mixed

Parameters

property

Property to retrieve, one of: AL_GAIN (float), AL_POSITION (array(float,float,float)), AL_VELOCITY (array(float,float,float)) and AL_ORIENTATION (array(float,float,float)).

Return Values

Returns a float or array of floats (as appropriate) or false on failure.

See Also


<openal_device_openopenal_listener_set>
^OpenAL FunctionsLast updated: Mon, 26 Oct 2026