public static extern int soundtouch_getSetting(IntPtr h, SoundTouchSettings settingId);
 public static extern bool soundtouch_setSetting(IntPtr h, SoundTouchSettings settingId, int value);
Example #3
0
        /// <summary>
        /// Reads a setting controlling the processing system behaviour.
        /// See the 'SETTING_...' defines for available setting ID's.
        /// </summary>
        /// <param name="settingId"></param>
        /// <returns>Returns the setting value.</returns>
        public int GetSetting(SoundTouchSettings settingId)
        {
            VerifyInstanceInitialized();

            return(NativeMethods.soundtouch_getSetting(m_handle, ( int )settingId));
        }
Example #4
0
        /// <summary>
        /// Changes a setting controlling the processing system behaviour. See the
        /// 'SETTING_...' defines for available setting ID's.
        ///
        /// \return 'TRUE' if the setting was succesfully changed
        /// </summary>
        public void SetSetting(SoundTouchSettings settingId, int value)
        {
            VerifyInstanceInitialized();

            NativeMethods.soundtouch_setSetting(m_handle, ( int )settingId, value);
        }
Example #5
0
        public void SetSetting(SoundTouchSettings settingId, int value)
        {
            VerifyInstanceInitialized();

            soundtouch_setSetting(m_handle, (int)settingId, value);
        }
        /// <summary>
        /// Reads a setting controlling the processing system behaviour. 
        /// See the 'SETTING_...' defines for available setting ID's.
        /// </summary>
        /// <param name="settingId"></param>
        /// <returns>Returns the setting value.</returns>
        public int GetSetting(SoundTouchSettings settingId)
        {
            VerifyInstanceInitialized();

            return soundtouch_getSetting(m_handle, ( int ) settingId);
        }