PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

openal_buffer_destroy> <openal_buffer_create
Last updated: Fri, 03 Oct 2008

view this page in

openal_buffer_data

(PECL openal:0.1)

openal_buffer_data バッファのデータを読み込む

説明

bool openal_buffer_data ( resource $buffer , int $format , string $data , int $freq )

パラメータ

buffer

Open AL (バッファ) リソース (事前に openal_buffer_create() で作成したもの)。

format

data のフォーマット。 AL_FORMAT_MONO8AL_FORMAT_MONO16AL_FORMAT_STEREO8 そして AL_FORMAT_STEREO16 のいずれか。

data

format および freq で指定した、バイナリ音声データブロック。

freq

Hz 単位で指定した data の周波数。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes
openal_buffer_data
There are no user contributed notes for this page.

openal_buffer_destroy> <openal_buffer_create
Last updated: Fri, 03 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites