/// <summary> /// Encapsulates gme_set_equalizer. Sets new equalizer values. /// </summary> /// <param name="emuHandle">The IntPtr handle to a MusicEmu reference.</param> /// <param name="treble">The desired treble level.</param> /// <param name="bass">The desired bass level.</param> public static void SetEqualizer(IntPtr emuHandle, double treble, double bass) { GmeEqualizer equalizer = new GmeEqualizer(); equalizer.Treble = treble; equalizer.Bass = bass; gme_set_equalizer(emuHandle, ref equalizer); }
private static extern void gme_set_equalizer(IntPtr emuHandle, ref GmeEqualizer equalizer);
private static extern void gme_equalizer(IntPtr emuHandle, out GmeEqualizer output);