function Audio(url, encoding)
{
	Resource.call(this, "audio", "Audio");

	if (url !== undefined)
	{
		// Arraybuffer
		if (url instanceof ArrayBuffer)
		{
			this.data = url;
			this.encoding = encoding !== undefined ? encoding : "";
			this.format = "arraybuffer";
		}
		// Base64
		else if (Base64Utils.isBase64(url))
		{
			this.encoding = encoding !== undefined ? encoding : "";
			this.data = ArraybufferUtils.fromBase64(url);
			this.format = "arraybuffer";
		}
		// URL
		else
		{
			this.data = FileSystem.readFileArrayBuffer(url);
			this.encoding = FileSystem.getFileExtension(url);
			this.format = "arraybuffer";
		}
	}
}
Audio class is used to store audio data as a arraybuffer to be later used by objects with the WebAudio API.

@class Audio
@extends {Resource}
@module Resources
@param {ArrayBuffer | string} url URL to Audio file or ArrayBuffer data.
@param {string} encoding Audio encoding (mp3, wav, etc).