mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
64 lines
2.5 KiB
HTML
64 lines
2.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>Create an audio processing context</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.openal-context-create" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">openal_context_create</h1>
|
|
<p class="verinfo">(PECL openal >= 0.1.0)</p><p class="refpurpose"><span class="refname">openal_context_create</span> — <span class="dc-title">
|
|
Create an audio processing context
|
|
</span></p>
|
|
|
|
</div>
|
|
<div class="refsect1 description" id="refsect1-function.openal-context-create-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>openal_context_create</strong></span>
|
|
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$device</code></span>
|
|
) : <span class="type">resource</span></div>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.openal-context-create-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">device</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
An <a href="openal.resources.html" class="link">Open AL(Device)</a> resource
|
|
(previously created by <span class="function"><a href="openal_device_open.html" class="function">openal_device_open()</a></span>).
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.openal-context-create-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Returns an <a href="openal.resources.html" class="link">Open AL(Context)</a> resource on success or
|
|
<strong><code>FALSE</code></strong> on failure.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 seealso" id="refsect1-function.openal-context-create-seealso">
|
|
<h3 class="title">参见</h3>
|
|
<p class="para">
|
|
<ul class="simplelist">
|
|
<li class="member"><span class="function"><a href="openal_device_open.html" class="function" rel="rdfs-seeAlso">openal_device_open()</a> - Initialize the OpenAL audio layer</span></li>
|
|
<li class="member"><span class="function"><a href="openal_context_destroy.html" class="function" rel="rdfs-seeAlso">openal_context_destroy()</a> - Destroys a context</span></li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |