openal_listener_set

(PECL)

openal_listener_set --  Set a listener property

說明

bool openal_listener_set ( int 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