openal_buffer_get
PHP function
Edit on GitHub ✎
(PECL openal >= 0.1.0)
Retrieve an OpenAL buffer property
Description
openal_buffer_get(resource $buffer, int $property): int|false
Parameters
bufferAn Open AL(Buffer) resource (previously created by
openal_buffer_create()).propertySpecific property, one of:
AL_FREQUENCY,AL_BITS,AL_CHANNELSListendandAL_SIZE.
Return Values
Returns an integer value appropriate to the property requestedFalseforfailure.