Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<openal_listener_getopenal_source_create>
Last updated: Tue, 19 Sep 2006

openal_listener_set

(PECL)

openal_listener_set --  Set a listener property

Description

bool openal_listener_set ( int property, mixed setting )

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.




<openal_listener_getopenal_source_create>
Last updated: Tue, 19 Sep 2006