/// <summary> /// Error handler function /// </summary> /// <param name="e">The exception</param> private void Error(GenericEventArgs <Exception> e) { this.OnError?.Invoke(this, e); }
public void ErrorHandler(object sender, GenericEventArgs <Exception> e) { LogControl.Write("[TTS] : Unable to complete the TTS request | " + e.ToString()); }
/// <summary> /// Called when a TTS requst has been successfully completed and audio is available. /// </summary> private void AudioAvailable(GenericEventArgs <Stream> e) { this.OnAudioAvailable?.Invoke(this, e); }