openal_stream
PHP function
Edit on GitHub ✎
(PECL openal >= 0.1.0)
Begin streaming on a source
Description
openal_stream(resource $source, int $format, int $rate): resource|false
Parameters
sourceAn Open AL(Source) resource (previously created by
openal_source_create()).formatFormat of
data, one of:AL_FORMAT_MONO8,AL_FORMAT_MONO16,AL_FORMAT_STEREO8ListendandAL_FORMAT_STEREO16rateFrequency of data to stream given in Hz.
Return Values
Returns a stream resource on successFalseforfailure.