<?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 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.openal-buffer-loadwav.php',
    1 => 'openal_buffer_loadwav',
    2 => 'Load a .wav file into a buffer',
  ),
  'up' => 
  array (
    0 => 'ref.openal.php',
    1 => 'OpenAL Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.openal-buffer-get.php',
    1 => 'openal_buffer_get',
  ),
  'next' => 
  array (
    0 => 'function.openal-context-create.php',
    1 => 'openal_context_create',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/openal/functions/openal-buffer-loadwav.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.openal-buffer-loadwav" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">openal_buffer_loadwav</h1>
  <p class="verinfo">(PECL openal &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">openal_buffer_loadwav</span> &mdash; <span class="dc-title">
   Load a .wav file into a buffer
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.openal-buffer-loadwav-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>openal_buffer_loadwav</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$buffer</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$wavfile</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.openal-buffer-loadwav-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <dl>
   
    <dt><code class="parameter">buffer</code></dt>
    <dd>
     <span class="simpara">
      An <a href="openal.resources.php" class="link">Open AL(Buffer)</a> resource
      (previously created by <span class="function"><a href="function.openal-buffer-create.php" class="function">openal_buffer_create()</a></span>).
     </span>
    </dd>
   
   
    <dt><code class="parameter">wavfile</code></dt>
    <dd>
     <span class="simpara">
      Path to <var class="filename">.wav</var> file on
      <em>local</em> file system.
     </span>
    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.openal-buffer-loadwav-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="simpara">
   Gibt bei Erfolg <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> zurück. Bei einem Fehler wird <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> zurückgegeben.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.openal-buffer-loadwav-seealso">
  <h3 class="title">Siehe auch</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.openal-buffer-data.php" class="function" rel="rdfs-seeAlso">openal_buffer_data()</a> - Load a buffer with data</span></li>
   <li><span class="function"><a href="function.openal-stream.php" class="function" rel="rdfs-seeAlso">openal_stream()</a> - Begin streaming on a source</span></li>
  </ul>
 </div>

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