openal_stream
(PECL openal >= 0.1.0)
openal_stream — Begin streaming on a source
Opis
resource openal_stream
( resource
$source
, int $format
, int $rate
)Parametry
-
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_STEREO8iAL_FORMAT_STEREO16 -
rate -
Frequency of data to stream given in Hz.
Zwracane wartości
Returns a stream resource on success lub FALSE w przypadku niepowodzenia.
Zobacz też:
- openal_source_create() - Generate a source resource
- fwrite() - Zapis pliku binarnie bezpieczny
There are no user contributed notes for this page.
