Manuale PHP
Indietro |  | Avanti

# XCIX. OpenAL Audio Bindings

# Introduzione

Platform independent audio bindings. Requires the OpenAL library.

# Installazione

This PECL extension is not bundled with PHP.

Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: http://pecl.php.net/package/openal.

You may download this PECL extension DLL from the PHP Downloads page or at http://snaps.php.net/.

# Configurazione di Runtime

Questa estensione non definisce alcuna direttiva di configurazione in `php.ini`

# Tipi di risorse

This extension defines four resource types: Open AL(Device) - Returned by openal_device_open(), Open AL(Context) - Returned by openal_context_create(), Open AL(Buffer) - Returned by openal_buffer_create(), and Open AL(Source) - Returned by openal_source_create().

# Costanti predefinite

Queste costanti sono definite da questa estensione e sono disponibili solo se l'estensione è stata compilata nel PHP o se è stata caricata dinamicamente a runtime.

`ALC_FREQUENCY` (integer)

  Context Attribute

`ALC_REFRESH` (integer)

  Context Attribute

`ALC_SYNC` (integer)

  Context Attribute

`AL_FREQUENCY` (integer)

  Buffer Setting

`AL_BITS` (integer)

  Buffer Setting

`AL_CHANNELS` (integer)

  Buffer Setting

`AL_SIZE` (integer)

  Buffer Setting

`AL_BUFFER` (integer)

  Source/Listener Setting (Integer)

`AL_SOURCE_RELATIVE` (integer)

  Source/Listener Setting (Integer)

`AL_SOURCE_STATE` (integer)

  Source/Listener Setting (Integer)

`AL_PITCH` (integer)

  Source/Listener Setting (Float)

`AL_GAIN` (integer)

  Source/Listener Setting (Float)

`AL_MIN_GAIN` (integer)

  Source/Listener Setting (Float)

`AL_MAX_GAIN` (integer)

  Source/Listener Setting (Float)

`AL_MAX_DISTANCE` (integer)

  Source/Listener Setting (Float)

`AL_ROLLOFF_FACTOR` (integer)

  Source/Listener Setting (Float)

`AL_CONE_OUTER_GAIN` (integer)

  Source/Listener Setting (Float)

`AL_CONE_INNER_ANGLE` (integer)

  Source/Listener Setting (Float)

`AL_CONE_OUTER_ANGLE` (integer)

  Source/Listener Setting (Float)

`AL_REFERENCE_DISTANCE` (integer)

  Source/Listener Setting (Float)

`AL_POSITION` (integer)

  Source/Listener Setting (Float Vector)

`AL_VELOCITY` (integer)

  Source/Listener Setting (Float Vector)

`AL_DIRECTION` (integer)

  Source/Listener Setting (Float Vector)

`AL_ORIENTATION` (integer)

  Source/Listener Setting (Float Vector)

`AL_FORMAT_MONO8` (integer)

  PCM Format

`AL_FORMAT_MONO16` (integer)

  PCM Format

`AL_FORMAT_STEREO8` (integer)

  PCM Format

`AL_FORMAT_STEREO16` (integer)

  PCM Format

`AL_INITIAL` (integer)

  Source State

`AL_PLAYING` (integer)

  Source State

`AL_PAUSED` (integer)

  Source State

`AL_STOPPED` (integer)

  Source State

`AL_LOOPING` (integer)

  Source State

`AL_TRUE` (integer)

  Boolean value recognized by OpenAL

`AL_FALSE` (integer)

  Boolean value recognized by OpenAL

Indietro | Partenza | Avanti
Usage | Risali | openal_buffer_create