略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: openal_stream

2024-12-20

openal_stream

(PECL openal >= 0.1.0)

openal_stream Begin streaming on a source

说明

openal_stream(resource $source, int $format, int $rate): resource|false

参数

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 或者在失败时返回 false.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.openal-stream.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3