您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

openal_stream

(PECL openal:0.1)

openal_stream — Begin streaming on a source

说明

resource openal_stream ( resource $source , int $format , int $rate )

参数

source

An Open AL(Source) resource (previously created by openal_source_create()).

format

Format of data , one of: AL_FORMAT_MONO8, AL_FORMAT_MONO16, AL_FORMAT_STEREO8AL_FORMAT_STEREO16

rate

Frequency of data to stream given in Hz.

返回值

Returns a stream resource on success, or FALSE on failure.