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(); }
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 CloseDown() { actionrunasync.WaitTillFinished(10000); SQLiteConnectionUser.PutSettingString("UserGlobalActionVars", PersistentVariables.ToString()); }