# openal_device_open

(PECL openal >= 0.1.0)

openal_device_open — Initialize the OpenAL audio layer

### 说明

openal_device_open ([ string `$device_desc` ] ) : resource

### 参数

`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 an Open AL(Device) resource on success or `FALSE` on failure.

### 参见

- openal_device_close() - Close an OpenAL device
- openal_context_create() - Create an audio processing context