<?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.2 $ --> <refentry id="function.openal-buffer-loadwav"> <refnamediv> <refname>openal_buffer_loadwav</refname> <refpurpose> Load a .wav file into a buffer </refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>openal_buffer_loadwav</methodname> <methodparam><type>resource</type><parameter>buffer</parameter></methodparam> <methodparam><type>string</type><parameter>wavfile</parameter></methodparam> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <variablelist> <varlistentry> <term><parameter>buffer</parameter></term> <listitem> <para> An <link linkend="openal.resources">Open AL(Buffer)</link> resource (previously created by <function>openal_buffer_create</function>). </para> </listitem> </varlistentry> <varlistentry> <term><parameter>wavfile</parameter></term> <listitem> <para> Path to .WAV file on <emphasis>local</emphasis> file system. </para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>openal_buffer_data</function></member> <member><function>openal_stream</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:"../../../../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 -->