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