openal_source_set

(PECL openal >= 0.1.0) Set source property bool openal_source_set ( resource $source, int $property, mixed $setting ) Parameters: source An Open AL(Source) resource (previously created by openal_source_create()). property Property to set, one of: AL_BUFFER (OpenAL(Source)), AL_LOOPING (bool), AL_SOURCE_RELATIVE (int), AL_SOURCE_STATE

openal_source_rewind

(PECL openal >= 0.1.0) Rewind the source bool openal_source_rewind ( resource $source ) Parameters: source An Open AL(Source) resource (previously created by openal_source_create()). Returns: Returns TRUE on success or FALSE on failure. See also: openal_sour

openal_source_play

(PECL openal >= 0.1.0) Start playing the source bool openal_source_play ( resource $source ) Parameters: source An Open AL(Source) resource (previously created by openal_source_create()). Returns: Returns TRUE on success or FALSE on failure. See also: openal

openal_source_pause

(PECL openal >= 0.1.0) Pause the source bool openal_source_pause ( resource $source ) Parameters: source An Open AL(Source) resource (previously created by openal_source_create()). Returns: Returns TRUE on success or FALSE on failure. See also: openal_source

openal_source_get

(PECL openal >= 0.1.0) Retrieve an OpenAL source property mixed openal_source_get ( resource $source, int $property ) Parameters: source An Open AL(Source) resource (previously created by openal_source_create()). property Property to get, one of: AL_SOURCE_RELATIVE (int), AL_SOURCE_STATE (int), AL_PITCH (float), AL_GAIN (float), AL_M

openal_source_destroy

(PECL openal >= 0.1.0) Destroy a source resource bool openal_source_destroy ( resource $source ) Parameters: source An Open AL(Source) resource (previously created by openal_source_create()). Returns: Returns TRUE on success or FALSE on failure. See also: op

openal_source_create

(PECL openal >= 0.1.0) Generate a source resource resource openal_source_create ( void ) Returns: Returns an Open AL(Source) resource on success or FALSE on failure. See also: openal_source_set() - openal_source_play() - openal_source_destroy() -

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

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_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