private static extern void ModPlug_GetSettings(out LibModPlugSettings modplugSettings);
private static extern void ModPlug_SetSettings(ref LibModPlugSettings modplugSettings);
/// <summary> /// Encapsulates ModPlug_SetSettings(). Sets the mod decoder settings. /// </summary> /// <remarks> /// All options, except for channels, bits-per-sample, sampling rate, and loop count, /// will take effect immediately. /// <para></para> /// Those options which don't take effect immediately /// </remarks> /// <param name="newSettings">Reference to a <see cref="LibModPlugSettings"/> struct.</param> public static void SetModPlugSettings(LibModPlugSettings newSettings) { ModPlug_SetSettings(ref newSettings); }