openal_context_current

(PECL openal >= 0.1.0)

openal_context_current Make the specified context current

说明

openal_context_current(resource $context): bool

参数

context

An Open AL(Context) resource (previously created by openal_context_create()).

返回值

成功时返回 true, 或者在失败时返回 false

参见