PHP ��U
前一頁 |  | 下一頁

# CVII. OpenAL Audio Bindings

# ��

Platform independent audio bindings. Requires the OpenAL library.

# �w��

This PECL extension is not bundled with PHP.

Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. 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/.

# ���ɴ�պA

`php.ini`�S�w�q��պA��O�C

# �귽��

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().

# �w��w�q�`��

�H�U�`�ƥѦ��w�q�A�u�b�o�ө��Q�sĶ�PHP�ι��ɴ�Q�ʺA��J�ɦ�ġC

`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

前一頁 | 內容 | 下一頁
Usage | 上一層 | openal_buffer_create