/// <summary> /// Return loaded <see cref="TextToSpeechConfiguration"/>. /// </summary> public static TextToSpeechConfiguration GetTextToSpeechConfiguration(this BaseRuntimeConfiguration runtimeConfiguration) { if (textToSpeechConfiguration == null) { textToSpeechConfiguration = TextToSpeechConfiguration.LoadConfiguration(); } return(textToSpeechConfiguration); }
/// <summary> /// Loads a new <see cref="TextToSpeechConfiguration"/> /// </summary> public static void SetTextToSpeechConfiguration(this BaseRuntimeConfiguration runtimeConfiguration, TextToSpeechConfiguration ttsConfiguration) { textToSpeechConfiguration = ttsConfiguration; }