public static extern int soundtouch_getSetting(IntPtr h, SoundTouchSettings settingId);
public static extern bool soundtouch_setSetting(IntPtr h, SoundTouchSettings settingId, int 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(NativeMethods.soundtouch_getSetting(m_handle, ( int )settingId)); }
/// <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); }
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); }