예제 #1
0
        private void trackBar_tts_speed_Scroll(object sender, EventArgs e)
        {
            var ttsspeed = trackBar_tts_speed.Value.ToString();

            if (Settings.TTSSpeed == ttsspeed)
            {
                return;
            }
            Settings.TTSSpeed = ttsspeed;
            Settings.Save();
            textBox_tts_speed.Text = Settings.TTSSpeed;
            if (Settings.TTSCache != "2")
            {
                Sound_Helper.TTS_ClearCache();
            }
        }
예제 #2
0
 private void button_tts_clear_cache_Click(object sender, EventArgs e)
 {
     Sound_Helper.TTS_ClearCache();
 }