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... | |
|
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.
formatType | The type for the format to add. |
|
inlinestatic |
Gets a format by the given file type. Note: These are global!
type | The name of the format, e.g. "ogg". |
|
inlinestatic |
Gets an instance of a format by the given file type.
type | The name of the format, e.g. "ogg". |
|
static |
The set of available formats. Use get to access.
|
static |
The "ogg" format is the default handler.