Summary
A static utility class for Libopenmpt
Syntax
public static class LibopenmptUtility
Methods
| Name | Return Value | Summary |
|---|---|---|
| GetFrameCount |
int |
Gets the number of frames based on the specified duration at the given sample rate.
static
|
| GetFrameCount |
int |
Gets the module's number of frames based on the duration of the selected subsong and at the given sample rate.
static
|
| GetLibraryMetadata |
string |
Get library related metadata.
static
|
| GetModuleMetadata |
string |
Get a module metadata item value.
static
|
| GetModuleMetadata |
string[] |
Get a string array of the module's metadata.
static
|
| GetSampleCount |
int |
Gets the number of samples based on the specified duration at the given sample rate and channel count.
static
|
| GetSampleCount |
int |
Gets the module's number of samples based on the duration of the selected subsong, the given channel count and sample rate.
static
|
| GetString |
string |
Get a string from a pointer coming from Libopenmpt and then free it.
static
|
| GetSubsongName |
string |
Get a sub-song name.
static
|
| Get |
string |
Get a list of supported file extensions.
static
|
| ModuleSetPosition |
float |
Set the module's current position in frame position.
static
|
| Try |
bool |
Construct an openmpt_module_ext.
static
|
| Try |
bool |
Construct an openmpt_module.
static
|
| Try |
bool |
Gets the "module extension interface" of the specified type, if it exists.
static
|