Detailed Description

Manages all current audio formats.

Static Public Member Functions

static void Add (Type formatType)
 Adds the given audio format to the global set for use. Note that you do not need to call this manually; Just deriving from AudioFormat is all that is required. More...
 
static AudioFormat GetInstance (string type)
 Gets an instance of a format by the given file type. More...
 
static AudioFormat Get (string type)
 Gets a format by the given file type. Note: These are global! More...
 

Static Public Attributes

static string UnrecognisedImageHandler ="ogg"
 The "ogg" format is the default handler. More...
 
static Dictionary< string,
AudioFormat
Formats
 The set of available formats. Use get to access. More...
 

Member Function Documentation

static void PowerUI.AudioFormats.Add ( Type  formatType)
inlinestatic

Adds the given audio format to the global set for use. Note that you do not need to call this manually; Just deriving from AudioFormat is all that is required.

Parameters
formatTypeThe type for the format to add.
static AudioFormat PowerUI.AudioFormats.Get ( string  type)
inlinestatic

Gets a format by the given file type. Note: These are global!

Parameters
typeThe name of the format, e.g. "ogg".
Returns
An AudioFormat if found; unrecognised handler otherwise.
static AudioFormat PowerUI.AudioFormats.GetInstance ( string  type)
inlinestatic

Gets an instance of a format by the given file type.

Parameters
typeThe name of the format, e.g. "ogg".
Returns
An AudioFormat.

Member Data Documentation

Dictionary<string,AudioFormat> PowerUI.AudioFormats.Formats
static

The set of available formats. Use get to access.

string PowerUI.AudioFormats.UnrecognisedImageHandler ="ogg"
static

The "ogg" format is the default handler.