array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.openal-buffer-get.php', 1 => 'openal_buffer_get', ), 'up' => array ( 0 => 'ref.openal.php', 1 => 'OpenAL 函数', ), 'prev' => array ( 0 => 'function.openal-buffer-destroy.php', 1 => 'openal_buffer_destroy', ), 'next' => array ( 0 => 'function.openal-buffer-loadwav.php', 1 => 'openal_buffer_loadwav', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/openal/functions/openal-buffer-get.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL openal >= 0.1.0)
openal_buffer_get — Retrieve an OpenAL buffer property
buffer
An Open AL(Buffer) resource (previously created by openal_buffer_create()).
property
Specific property, one of:
AL_FREQUENCY
,
AL_BITS
,
AL_CHANNELS
和
AL_SIZE
.
Returns an integer value appropriate to the property
requested 或者在失败时返回 false
.