Create gh-pages branch via GitHub

This commit is contained in:
Thong Nguyen 2012-09-01 16:26:24 -07:00
parent 4670b66c4a
commit 5c23bcf866
2 changed files with 26 additions and 2 deletions

View File

@ -40,6 +40,8 @@
<h3>Audjustable Audio Streamer</h3>
<p><a href="http://tumtumtum.github.com/audjustable">Homepage</a></p>
<p>Audjustable is audio streaming class for iOS and OSX. Audjustable uses CoreAudio to decompress and playback audio whilst providing a clean and simple object-oriented API.</p>
<h2>Features</h2>
@ -52,7 +54,29 @@
<li>Easy to implement audio data sources (HTTP and local file system DataSources provided)</li>
<li>Easy to extend DataSource to support adaptive buffering, encryption etc</li>
<li>Optimised for low CPU/battery usage</li>
</ul><h3>Authors and Contributors</h3>
</ul><h2>Usage</h2>
<p>Download the <a href="https://github.com/tumtumtum/audjustable/zipball/master">source</a> which includes a simple audio player project that streams audio over HTTP or locally using the <code>HttpDataSource</code> or `LocalFileDataSource" classes respectively.</p>
<p>If you would like to integrate the AudioPlayer directly into your project you only need to copy the files inside the <code>/Audjustable/Classes/AudioPlayer</code> <a href="https://github.com/tumtumtum/audjustable/tree/master/Audjustable/Classes/AudioPlayer">directory</a> into your project.</p>
<h2>Code</h2>
<p>There are two main classes. The <code>DataSource</code> class which is the abstract base class for the various compressed audio data sources (HTTP, local file are provided). The <code>AudioPlayer</code> class manages and renders audio from a queue DataSources.</p>
<div class="highlight"><pre>
<span class="c1">// Create AudioPlayer</span>
<span class="n">AudioPlayer</span><span class="o">*</span> <span class="n">audioPlayer</span> <span class="o">=</span> <span class="p">[[</span><span class="n">AudioPlayer</span> <span class="n">alloc</span><span class="p">]</span> <span class="n">init</span><span class="p">];</span>
<span class="n">audioPlayer</span><span class="p">.</span><span class="n">delegate</span> <span class="o">=</span> <span class="n">self</span><span class="p">;</span>
<span class="c1">// Queue on a URL to play. Each queue item has a unique ID (item1) that to identify the related file in delegate callbacks</span>
<span class="p">[</span><span class="n">audioPlayer</span> <span class="nl">setDataSource:</span><span class="p">[</span><span class="n">audioPlayer</span> <span class="nl">dataSourceFromURL:</span><span class="s">@"https://github.com/downloads/tumtumtum/audjustable/sample.m4a"</span><span class="p">]</span> <span class="nl">withQueueItemId:</span><span class="s">@"item1"</span><span class="p">];</span>
</pre></div>
<h3>Authors and Contributors</h3>
<p>Copyright 2012, Thong Nguyen (<a href="https://github.com/tumtumtum" class="user-mention">@tumtumtum</a>)</p>
</section>

View File

@ -1 +1 @@
{"tagline":"A fast and extensible audio streamer for iOS and OSX with support for gapless playback and custom (non-HTTP) sources","note":"Don't delete this file! It's used internally to help with page regeneration.","name":"Audjustable","body":"### Audjustable Audio Streamer\r\n\r\nAudjustable is audio streaming class for iOS and OSX. Audjustable uses CoreAudio to decompress and playback audio whilst providing a clean and simple object-oriented API.\r\n\r\n## Features\r\n\r\n* Simple OOP API\r\n* Easy to read source\r\n* Adjustable audio buffering\r\n* Buffered and gapless playback\r\n* Easy to implement audio data sources (HTTP and local file system DataSources provided)\r\n* Easy to extend DataSource to support adaptive buffering, encryption etc\r\n* Optimised for low CPU/battery usage\r\n\r\n### Authors and Contributors\r\nCopyright 2012, Thong Nguyen (@tumtumtum)","google":""}
{"name":"Audjustable","tagline":"A fast and extensible audio streamer for iOS and OSX with support for gapless playback and custom (non-HTTP) sources","body":"### Audjustable Audio Streamer\r\n\r\n[Homepage](http://tumtumtum.github.com/audjustable)\r\n\r\nAudjustable is audio streaming class for iOS and OSX. Audjustable uses CoreAudio to decompress and playback audio whilst providing a clean and simple object-oriented API.\r\n\r\n## Features\r\n\r\n* Simple OOP API\r\n* Easy to read source\r\n* Adjustable audio buffering\r\n* Buffered and gapless playback\r\n* Easy to implement audio data sources (HTTP and local file system DataSources provided)\r\n* Easy to extend DataSource to support adaptive buffering, encryption etc\r\n* Optimised for low CPU/battery usage\r\n\r\n## Usage\r\n\r\nDownload the [source](https://github.com/tumtumtum/audjustable/zipball/master) which includes a simple audio player project that streams audio over HTTP or locally using the `HttpDataSource` or `LocalFileDataSource\" classes respectively.\r\n\r\nIf you would like to integrate the AudioPlayer directly into your project you only need to copy the files inside the `/Audjustable/Classes/AudioPlayer` [directory](https://github.com/tumtumtum/audjustable/tree/master/Audjustable/Classes/AudioPlayer) into your project.\r\n\r\n## Code\r\n\r\nThere are two main classes. The `DataSource` class which is the abstract base class for the various compressed audio data sources (HTTP, local file are provided). The `AudioPlayer` class manages and renders audio from a queue DataSources.\r\n\r\n```objective-c\r\n\r\n// Create AudioPlayer\r\n\r\nAudioPlayer* audioPlayer = [[AudioPlayer alloc] init];\r\naudioPlayer.delegate = self;\r\n\r\n// Queue on a URL to play. Each queue item has a unique ID (item1) that to identify the related file in delegate callbacks\r\n\r\n[audioPlayer setDataSource:[audioPlayer dataSourceFromURL:@\"https://github.com/downloads/tumtumtum/audjustable/sample.m4a\"] withQueueItemId:@\"item1\"];\r\n\r\n```\r\n\r\n### Authors and Contributors\r\nCopyright 2012, Thong Nguyen (@tumtumtum)","note":"Don't delete this file! It's used internally to help with page regeneration.","google":""}