Our source is open
The syntax highlighted source is automatically generated by PHP from
the plaintext script.
If you're interested in what's behind the several functions we
used, you can always take a look at the source of the following files:
Of course, if you want to see the source
of this page, we have it available.
You can also browse the SVN repository for this website on
svn.php.net.
Source of: /manual/en/book.openal.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.utilspec.audio.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'book.openal.php',
1 => 'OpenAL',
),
'up' =>
array (
0 => 'refs.utilspec.audio.php',
1 => 'Audio Formats Manipulation',
),
'prev' =>
array (
0 => 'oggvorbis.examples-basisc.php',
1 => 'Examples on using the ogg:// wrapper.',
),
'next' =>
array (
0 => 'intro.openal.php',
1 => 'Introduction',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">OpenAL Audio Bindings</h1>
<ul class="chunklist chunklist_book"><li><a href="intro.openal.php">Introduction</a></li><li><a href="openal.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="openal.requirements.php">Requirements</a></li><li><a href="openal.installation.php">Installation</a></li><li><a href="openal.configuration.php">Runtime Configuration</a></li><li><a href="openal.resources.php">Resource Types</a></li></ul></li><li><a href="openal.constants.php">Predefined Constants</a></li><li><a href="ref.openal.php">OpenAL Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.openal-buffer-create.php">openal_buffer_create</a> — Generate OpenAL buffer</li><li><a href="function.openal-buffer-data.php">openal_buffer_data</a> — Load a buffer with data</li><li><a href="function.openal-buffer-destroy.php">openal_buffer_destroy</a> — Destroys an OpenAL buffer</li><li><a href="function.openal-buffer-get.php">openal_buffer_get</a> — Retrieve an OpenAL buffer property</li><li><a href="function.openal-buffer-loadwav.php">openal_buffer_loadwav</a> — Load a .wav file into a buffer</li><li><a href="function.openal-context-create.php">openal_context_create</a> — Create an audio processing context</li><li><a href="function.openal-context-current.php">openal_context_current</a> — Make the specified context current</li><li><a href="function.openal-context-destroy.php">openal_context_destroy</a> — Destroys a context</li><li><a href="function.openal-context-process.php">openal_context_process</a> — Process the specified context</li><li><a href="function.openal-context-suspend.php">openal_context_suspend</a> — Suspend the specified context</li><li><a href="function.openal-device-close.php">openal_device_close</a> — Close an OpenAL device</li><li><a href="function.openal-device-open.php">openal_device_open</a> — Initialize the OpenAL audio layer</li><li><a href="function.openal-listener-get.php">openal_listener_get</a> — Retrieve a listener property</li><li><a href="function.openal-listener-set.php">openal_listener_set</a> — Set a listener property</li><li><a href="function.openal-source-create.php">openal_source_create</a> — Generate a source resource</li><li><a href="function.openal-source-destroy.php">openal_source_destroy</a> — Destroy a source resource</li><li><a href="function.openal-source-get.php">openal_source_get</a> — Retrieve an OpenAL source property</li><li><a href="function.openal-source-pause.php">openal_source_pause</a> — Pause the source</li><li><a href="function.openal-source-play.php">openal_source_play</a> — Start playing the source</li><li><a href="function.openal-source-rewind.php">openal_source_rewind</a> — Rewind the source</li><li><a href="function.openal-source-set.php">openal_source_set</a> — Set source property</li><li><a href="function.openal-source-stop.php">openal_source_stop</a> — Stop playing the source</li><li><a href="function.openal-stream.php">openal_stream</a> — Begin streaming on a source</li></ul></li></ul></div><?php manual_footer(); ?>