<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.openal.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.openal-device-open.php',
    1 => 'openal_device_open',
    2 => 'OpenAL 音声レイヤを初期化する',
  ),
  'up' => 
  array (
    0 => 'ref.openal.php',
    1 => 'OpenAL 関数',
  ),
  'prev' => 
  array (
    0 => 'function.openal-device-close.php',
    1 => 'openal_device_close',
  ),
  'next' => 
  array (
    0 => 'function.openal-listener-get.php',
    1 => 'openal_listener_get',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/openal/functions/openal-device-open.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.openal-device-open" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">openal_device_open</h1>
  <p class="verinfo">(PECL openal &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">openal_device_open</span> &mdash; <span class="dc-title">
   OpenAL 音声レイヤを初期化する
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.openal-device-open-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>openal_device_open</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$device_desc</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span></div>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.openal-device-open-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt><code class="parameter">device_desc</code></dt>
    <dd>
     <span class="simpara">
      <code class="parameter">device_desc</code> で指定した音声デバイスをオープンします。
      <code class="parameter">device_desc</code> が指定されなかった場合は、
      最初に見つかった音声デバイスが使用されます。
     </span>
    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.openal-device-open-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="simpara">
   成功した場合に <a href="openal.resources.php" class="link">Open AL (デバイス)</a> リソース、
   失敗した場合に <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> を返します。
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.openal-device-open-seealso">
  <h3 class="title">参考</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.openal-device-close.php" class="function" rel="rdfs-seeAlso">openal_device_close()</a> - OpenAL デバイスを閉じる</span></li>
   <li><span class="function"><a href="function.openal-context-create.php" class="function" rel="rdfs-seeAlso">openal_context_create()</a> - 音声処理コンテキストを作成する</span></li>
  </ul>
 </div>

</div><?php manual_footer($setup); ?>