<?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 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.openal-source-get.php',
    1 => 'openal_source_get',
    2 => 'R&eacute;cup&egrave;re une propri&eacute;t&eacute; de source OpenAL',
  ),
  'up' => 
  array (
    0 => 'ref.openal.php',
    1 => 'Fonctions OpenAL',
  ),
  'prev' => 
  array (
    0 => 'function.openal-source-destroy.php',
    1 => 'openal_source_destroy',
  ),
  'next' => 
  array (
    0 => 'function.openal-source-pause.php',
    1 => 'openal_source_pause',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/openal/functions/openal-source-get.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.openal-source-get" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">openal_source_get</h1>
  <p class="verinfo">(PECL openal &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">openal_source_get</span> &mdash; <span class="dc-title">Récupère une propriété de source OpenAL</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.openal-source-get-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>openal_source_get</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$source</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$property</code></span>): <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span></div>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.openal-source-get-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <dl>
   
    <dt><code class="parameter">source</code></dt>
    <dd>
     <span class="simpara">
      Une ressource <a href="openal.resources.php" class="link">Open AL(Source)</a>
      (précédemment créée par <span class="function"><a href="function.openal-source-create.php" class="function">openal_source_create()</a></span>).
     </span>
    </dd>
   
   
    <dt><code class="parameter">property</code></dt>
    <dd>
     <span class="simpara">
      Propriété à récupérer, une parmi celles-ci :
      <strong><code><a href="openal.constants.php#constant.al-source-relative">AL_SOURCE_RELATIVE</a></code></strong> (<a href="language.types.integer.php" class="link">entier</a>),
      <strong><code><a href="openal.constants.php#constant.al-source-state">AL_SOURCE_STATE</a></code></strong> (<a href="language.types.integer.php" class="link">entier</a>),
      <strong><code><a href="openal.constants.php#constant.al-pitch">AL_PITCH</a></code></strong> (<a href="language.types.float.php" class="link">nombre décimal</a>),
      <strong><code><a href="openal.constants.php#constant.al-gain">AL_GAIN</a></code></strong> (<a href="language.types.float.php" class="link">nombre décimal</a>),
      <strong><code><a href="openal.constants.php#constant.al-min-gain">AL_MIN_GAIN</a></code></strong> (<a href="language.types.float.php" class="link">nombre décimal</a>),
      <strong><code><a href="openal.constants.php#constant.al-max-gain">AL_MAX_GAIN</a></code></strong> (<a href="language.types.float.php" class="link">nombre décimal</a>),
      <strong><code><a href="openal.constants.php#constant.al-max-distance">AL_MAX_DISTANCE</a></code></strong> (<a href="language.types.float.php" class="link">nombre décimal</a>),
      <strong><code><a href="openal.constants.php#constant.al-rolloff-factor">AL_ROLLOFF_FACTOR</a></code></strong> (<a href="language.types.float.php" class="link">nombre décimal</a>),
      <strong><code><a href="openal.constants.php#constant.al-cone-outer-gain">AL_CONE_OUTER_GAIN</a></code></strong> (<a href="language.types.float.php" class="link">nombre décimal</a>),
      <strong><code><a href="openal.constants.php#constant.al-cone-inner-angle">AL_CONE_INNER_ANGLE</a></code></strong> (<a href="language.types.float.php" class="link">nombre décimal</a>),
      <strong><code><a href="openal.constants.php#constant.al-cone-outer-angle">AL_CONE_OUTER_ANGLE</a></code></strong> (<a href="language.types.float.php" class="link">nombre décimal</a>),
      <strong><code><a href="openal.constants.php#constant.al-reference-distance">AL_REFERENCE_DISTANCE</a></code></strong> (<a href="language.types.float.php" class="link">nombre décimal</a>),
      <strong><code><a href="openal.constants.php#constant.al-position">AL_POSITION</a></code></strong> (array(<span class="type"><a href="language.types.float.php" class="type float">float</a></span>,<span class="type"><a href="language.types.float.php" class="type float">float</a></span>,<span class="type"><a href="language.types.float.php" class="type float">float</a></span>)),
      <strong><code><a href="openal.constants.php#constant.al-velocity">AL_VELOCITY</a></code></strong> (array(<span class="type"><a href="language.types.float.php" class="type float">float</a></span>,<span class="type"><a href="language.types.float.php" class="type float">float</a></span>,<span class="type"><a href="language.types.float.php" class="type float">float</a></span>)),
      <strong><code><a href="openal.constants.php#constant.al-direction">AL_DIRECTION</a></code></strong> (array(<span class="type"><a href="language.types.float.php" class="type float">float</a></span>,<span class="type"><a href="language.types.float.php" class="type float">float</a></span>,<span class="type"><a href="language.types.float.php" class="type float">float</a></span>)).
     </span>
    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.openal-source-get-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="simpara">
   Retourne le type associé avec la propriété récupérée ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si une erreur survient.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.openal-source-get-seealso">
  <h3 class="title">Voir aussi</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.openal-source-create.php" class="function" rel="rdfs-seeAlso">openal_source_create()</a> - G&eacute;n&egrave;re une ressource de source</span></li>
   <li><span class="function"><a href="function.openal-source-set.php" class="function" rel="rdfs-seeAlso">openal_source_set()</a> - D&eacute;finit une propri&eacute;t&eacute; de la source</span></li>
   <li><span class="function"><a href="function.openal-source-play.php" class="function" rel="rdfs-seeAlso">openal_source_play()</a> - D&eacute;marre la lecture de la source</span></li>
  </ul>
 </div>

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