phpday 2027 - Call for Papers

openal_listener_set

(PECL openal >= 0.1.0)

openal_listener_set — Set a listener property

Description

function openal_listener_set(int $property, mixed $setting): bool

Parameters

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.

Return Values

Returns true on success or false on failure.

See Also

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top