OPENAL_LISTENER_SET(3) 1 OPENAL_LISTENER_SET(3)
openal_listener_set - Set a listener property
SYNOPSIS
bool openal_listener_set (int $property, mixed $setting)
DESCRIPTION
PARAMETERS
o $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)).
o $setting
- Value to set, either float, or an array of floats as appropriate.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
openal_listener_get(3).
PHP Documentation Group OPENAL_LISTENER_SET(3)