예제 #1
0
        /// <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);
        }
예제 #2
0
 private static extern void gme_set_equalizer(IntPtr emuHandle, ref GmeEqualizer equalizer);
예제 #3
0
 private static extern void gme_equalizer(IntPtr emuHandle, out GmeEqualizer output);