public void Load() { RequestedLatency.Value = m_iniFile.GetInt32(RequestedLatency.Section, RequestedLatency.Key, RequestedLatency.DefaultValue); OutputDevice.Value = m_iniFile.GetString(OutputDevice.Section, OutputDevice.Key, OutputDevice.DefaultValue); WaveOutCallback.Value = m_iniFile.GetString(WaveOutCallback.Section, WaveOutCallback.Key, WaveOutCallback.DefaultValue); WaveOutDevice.Value = m_iniFile.GetInt32(WaveOutDevice.Section, WaveOutDevice.Key, WaveOutDevice.DefaultValue); DirectSoundDevice.Value = m_iniFile.GetString(DirectSoundDevice.Section, DirectSoundDevice.Key, DirectSoundDevice.DefaultValue); WasapiOutDevice.Value = m_iniFile.GetInt32(WasapiOutDevice.Section, WasapiOutDevice.Key, WasapiOutDevice.DefaultValue); WasapiOutIsEventCallback.Value = m_iniFile.GetString(WasapiOutIsEventCallback.Section, WasapiOutIsEventCallback.Key, WasapiOutIsEventCallback.DefaultValue); WasapiOutExclusiveMode.Value = m_iniFile.GetString(WasapiOutExclusiveMode.Section, WasapiOutExclusiveMode.Key, WasapiOutExclusiveMode.DefaultValue); VideoPlaybackDevice.Value = m_iniFile.GetInt32(VideoPlaybackDevice.Section, VideoPlaybackDevice.Key, VideoPlaybackDevice.DefaultValue); }
public void Load() { AudioPlayer.Value = m_iniFile.GetString(AudioPlayer.Section, AudioPlayer.Key, AudioPlayer.DefaultValue); VideoPlayer.Value = m_iniFile.GetString(VideoPlayer.Section, VideoPlayer.Key, VideoPlayer.DefaultValue); ConfigPath.Value = m_iniFile.GetString(ConfigPath.Section, ConfigPath.Key, ConfigPath.DefaultValue); KeyPressDelay.Value = m_iniFile.GetInt32(KeyPressDelay.Section, KeyPressDelay.Key, KeyPressDelay.DefaultValue); RequestedLatency.Value = m_iniFile.GetInt32(RequestedLatency.Section, RequestedLatency.Key, RequestedLatency.DefaultValue); OutputDevice.Value = m_iniFile.GetString(OutputDevice.Section, OutputDevice.Key, OutputDevice.DefaultValue); WaveOutCallback.Value = m_iniFile.GetString(WaveOutCallback.Section, WaveOutCallback.Key, WaveOutCallback.DefaultValue); WaveOutDevice.Value = m_iniFile.GetInt32(WaveOutDevice.Section, WaveOutDevice.Key, WaveOutDevice.DefaultValue); DirectSoundDevice.Value = m_iniFile.GetString(DirectSoundDevice.Section, DirectSoundDevice.Key, DirectSoundDevice.DefaultValue); WasapiOutDevice.Value = m_iniFile.GetInt32(WasapiOutDevice.Section, WasapiOutDevice.Key, WasapiOutDevice.DefaultValue); WasapiOutIsEventCallback.Value = m_iniFile.GetString(WasapiOutIsEventCallback.Section, WasapiOutIsEventCallback.Key, WasapiOutIsEventCallback.DefaultValue); WasapiOutExclusiveMode.Value = m_iniFile.GetString(WasapiOutExclusiveMode.Section, WasapiOutExclusiveMode.Key, WasapiOutExclusiveMode.DefaultValue); }
public void Load() { Sensitivity.Value = m_iniFile.GetInt32(Sensitivity.Section, Sensitivity.Key, Sensitivity.DefaultValue); Axis.Value = m_iniFile.GetInt32(Axis.Section, Axis.Key, Axis.DefaultValue); Modifier.Value = m_iniFile.GetInt32(Modifier.Section, Modifier.Key, Modifier.DefaultValue); }