Method
Libopenmpt.ModuleCtlSetFloatingPoint(IntPtr, string, double)

Summary

Syntax

[DllImport(DLL, EntryPoint = "openmpt_module_ctl_set_floatingpoint")]
public static extern int ModuleCtlSetFloatingPoint(IntPtr mod, string key, double value)

Attributes

Type Description
DllImportAttribute

Parameters

Name Type Description
mod IntPtr The module handle to work on.
key string The ctl key whose value should be set.
value double The value that should be set.

Return Value

Type Description
int 1 if successful, 0 in case the value is not sensible (e.g. negative tempo factor) or the ctl is not recognized.