public void CloseDown() { SQLiteConnectionUser.PutSettingString("UserGlobalActionVars", PersistentVariables.ToString()); audioqueuespeech.StopAll(); audioqueuewave.StopAll(); audioqueuespeech.Dispose(); // in order.. audiodriverspeech.Dispose(); audioqueuewave.Dispose(); audiodriverwave.Dispose(); inputdevicesactions.Stop(); inputdevices.Clear(); voicerecon.Close(); System.Diagnostics.Debug.WriteLine(Environment.TickCount % 10000 + " AC Closedown complete"); }
public void VoiceReconOn(string culture = null) // perform enableVR { voicerecon.Close(); // can close without stopping voicerecon.Open(System.Globalization.CultureInfo.GetCultureInfo(culture)); }