Class
LibopenmptUtility

Summary

Syntax

public static class LibopenmptUtility

Methods

Name Return Value Summary
GetFrameCount(int, float) int
Gets the number of frames based on the specified duration at the given sample rate.
static
GetFrameCount(IntPtr, int) int
Gets the module's number of frames based on the duration of the selected subsong and at the given sample rate.
static
GetLibraryMetadata(LibraryMetadataType) string
Get library related metadata.
static
GetModuleMetadata(IntPtr, ModuleMetadataType) string
Get a module metadata item value.
static
GetModuleMetadata(IntPtr) string[]
Get a string array of the module's metadata.
static
GetSampleCount(int, float, ChannelCount) int
Gets the number of samples based on the specified duration at the given sample rate and channel count.
static
GetSampleCount(IntPtr, int, ChannelCount) 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(IntPtr) string
Get a string from a pointer coming from Libopenmpt and then free it.
static
GetSubsongName(IntPtr, int) string
Get a sub-song name.
static
GetSupportedExtensions() string
Get a list of supported file extensions.
static
ModuleSetPosition(IntPtr, int, int) float
Set the module's current position in frame position.
static
TryCreateModuleExtFromMemory(byte[], IntPtr) bool
Construct an openmpt_module_ext.
static
TryCreateModuleFromMemory(byte[], IntPtr) bool
Construct an openmpt_module.
static
TryGetModuleExtInterface<T>(IntPtr, T) bool
Gets the "module extension interface" of the specified type, if it exists.
static