php8.5
Home/ Manual/ openal / functions/ openal_buffer_get

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

buffer

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

property

Specific property, one of: AL_FREQUENCY, AL_BITS, AL_CHANNELSListendand AL_SIZE.

Return Values

Returns an integer value appropriate to the property requestedFalseforfailure.

See Also

Source: reference/openal/functions/openal-buffer-get.xml · from the official PHP manual (php/doc-en)