PHP Manual
后退 |  | 前进

# openal_buffer_loadwav

(PECL)

openal_buffer_loadwav -- Load a .wav file into a buffer

## 说明

bool openal_buffer_loadwav ( resource buffer, string wavfile )

## 参数

buffer

  An Open AL(Buffer) resource (previously created by openal_buffer_create()).

wavfile

  Path to .WAV file on local file system.

## 返回值

如果成功则返回 `TRUE`，失败则返回 `FALSE`。

## 参见

openal_buffer_data()
openal_stream()

后退 | 起点 | 前进
openal_buffer_get | 上一级 | openal_context_create