openal_stream

Begin streaming on a source

Beschreibung

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

Parameter-Liste

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_STEREO8 und AL_FORMAT_STEREO16

rate

Frequency of data to stream given in Hz.

Rückgabewerte

Returns a stream resource on successIm Fehlerfall wird FALSE zurückgegeben..

Siehe auch

  • openal_source_create
  • fwrite