openal_buffer_loadwav

(PECL openal >= 0.1.0) Load a .wav file into a buffer bool openal_buffer_loadwav ( resource $buffer, string $wavfile ) Parameters: buffer An Open AL(Buffer) resource (previously created by openal_buffer_create()). wavfile Path to .wav file on local file system. Returns: Returns TRUE on success or FALSE on fa

openal_context_create

(PECL openal >= 0.1.0) Create an audio processing context resource openal_context_create ( resource $device ) Parameters: device An Open AL(Device) resource (previously created by openal_device_open()). Returns: Returns an Open AL(Context) resource on success or FALSE on failure.

openal_context_current

(PECL openal >= 0.1.0) Make the specified context current bool openal_context_current ( resource $context ) Parameters: context An Open AL(Context) resource (previously created by openal_context_create()). Returns: Returns TRUE on success or FALSE on failure. See also:

openal_context_destroy

(PECL openal >= 0.1.0) Destroys a context bool openal_context_destroy ( resource $context ) Parameters: context An Open AL(Context) resource (previously created by openal_context_create()). Returns: Returns TRUE on success or FALSE on failure. See also: open

openal_context_process

(PECL openal >= 0.1.0) Process the specified context bool openal_context_process ( resource $context ) Parameters: context An Open AL(Context) resource (previously created by openal_context_create()). Returns: Returns TRUE on success or FALSE on failure. See also:

openal_context_suspend

(PECL openal >= 0.1.0) Suspend the specified context bool openal_context_suspend ( resource $context ) Parameters: context An Open AL(Context) resource (previously created by openal_context_create()). Returns: Returns TRUE on success or FALSE on failure. See also:

openal_device_close

(PECL openal >= 0.1.0) Close an OpenAL device bool openal_device_close ( resource $device ) Parameters: device An Open AL(Device) resource (previously created by openal_device_open()) to be closed. Returns: Returns TRUE on success or FALSE on failure. See also:

openal_device_open

(PECL openal >= 0.1.0) Initialize the OpenAL audio layer resource openal_device_open ([ string $device_desc ] ) Parameters: device_desc Open an audio device optionally specified by device_desc. If device_desc is not specified the first available audio device will be used. Returns: Returns an Open AL(Device) resource on success or FALSE on fail

openal_listener_get

(PECL openal >= 0.1.0) Retrieve a listener property mixed openal_listener_get ( int $property ) Parameters: property Property to retrieve, one of: AL_GAIN (float), AL_POSITION (array(float,float,float)), AL_VELOCITY (array(float,float,float)) and AL_ORIENTATION (array(float,float,float)). Returns: Returns a float or array of floats (as appropr

openal_listener_set

(PECL openal >= 0.1.0) Set a listener property 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 a