PHP 手冊
前一頁 |  | 下一頁

# openal_buffer_loadwav

(no version information, might be only in CVS)

openal_buffer_loadwav -- Load a .wav file into a buffer

## Description

bool openal_buffer_loadwav ( resource buffer, string wavfile )

## Parameters

buffer

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

wavfile

  Path to .WAV file on local file system.

## Return Values

成功回傳`TRUE`失敗回傳`FALSE`。

## 參考

openal_buffer_data()
openal_stream()

前一頁 | 內容 | 下一頁
openal_buffer_get | 上一層 | openal_context_create