# openal_listener_get

(PECL openal >= 0.1.0)

openal_listener_get — Retrieve a listener property

### 说明

openal_listener_get ( int `$property` ) : mixed

### 参数

`property`

  Property to retrieve, one of: `AL_GAIN` (float), `AL_POSITION` (array(float,float,float)), `AL_VELOCITY` (array(float,float,float)) 和 `AL_ORIENTATION` (array(float,float,float)).

### 返回值

Returns a float or array of floats (as appropriate) 或者在失败时返回 `FALSE`.

### 参见

- openal_listener_set() - Set a listener property