mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-25 17:32:07 +01:00
94 lines
3.2 KiB
XML
94 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
|
|
<refentry xml:id="function.openal-source-get" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>openal_source_get</refname>
|
|
<refpurpose>Récupère une propriété de source OpenAL</refpurpose>
|
|
</refnamediv>
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>mixed</type><methodname>openal_source_get</methodname>
|
|
<methodparam><type>resource</type><parameter>source</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>property</parameter></methodparam>
|
|
</methodsynopsis>
|
|
</refsect1>
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>source</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Une ressource <link linkend="openal.resources">Open AL(Source)</link>
|
|
(précédemment créée par <function>openal_source_create</function>).
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>property</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Propriété à récupérer, une parmi celles-ci :
|
|
<constant>AL_SOURCE_RELATIVE</constant> (&integer;),
|
|
<constant>AL_SOURCE_STATE</constant> (&integer;),
|
|
<constant>AL_PITCH</constant> (&float;),
|
|
<constant>AL_GAIN</constant> (&float;),
|
|
<constant>AL_MIN_GAIN</constant> (&float;),
|
|
<constant>AL_MAX_GAIN</constant> (&float;),
|
|
<constant>AL_MAX_DISTANCE</constant> (&float;),
|
|
<constant>AL_ROLLOFF_FACTOR</constant> (&float;),
|
|
<constant>AL_CONE_OUTER_GAIN</constant> (&float;),
|
|
<constant>AL_CONE_INNER_ANGLE</constant> (&float;),
|
|
<constant>AL_CONE_OUTER_ANGLE</constant> (&float;),
|
|
<constant>AL_REFERENCE_DISTANCE</constant> (&float;),
|
|
<constant>AL_POSITION</constant> (array(<type>float</type>,<type>float</type>,<type>float</type>)),
|
|
<constant>AL_VELOCITY</constant> (array(<type>float</type>,<type>float</type>,<type>float</type>)),
|
|
<constant>AL_DIRECTION</constant> (array(<type>float</type>,<type>float</type>,<type>float</type>)).
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</refsect1>
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
Retourne le type associé avec la propriété récupérée&return.falseforfailure;.
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><function>openal_source_create</function></member>
|
|
<member><function>openal_source_set</function></member>
|
|
<member><function>openal_source_play</function></member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|