©
This document uses PHP Chinese website manual Release
(PECL openal >= 0.1.0)
openal_listener_set — Set a listener property
$property
, mixed $setting
)property
Property to set, one of:
AL_GAIN
(float),
AL_POSITION
(array(float,float,float)),
AL_VELOCITY
(array(float,float,float)) 和
AL_ORIENTATION
(array(float,float,float)).
setting
Value to set, either float, or an array of floats as appropriate.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。