PHP.nl

openal_stream

openal_stream

Begin streaming on a source

 **openal_stream** resource $source int $format int $rate

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

format Format of , one of: , , listendand

 `data``AL_FORMAT_MONO8``AL_FORMAT_MONO16``AL_FORMAT_STEREO8``AL_FORMAT_STEREO16`

rateFrequency of data to stream given in Hz.

Returns a stream resource on successreturn.falseforfailure.

openal_source_create``fwrite