(PECL openal >= 0.1.0)
openal_listener_set — Set a listener property
openal_listener_set ( int $property , mixed $setting ) : bool
property
Property to set, one of: AL_GAIN
(float), AL_POSITION
(array(float,float,float)), AL_VELOCITY
(array(float,float,float)) and AL_ORIENTATION
(array(float,float,float)).
setting
Value to set, either float, or an array of floats as appropriate.
Returns true
on success or false
on failure.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.openal-listener-set.php