private void AudioAvailable(GenericEventArgs <Stream> e) { this.OnAudioAvailable?.Invoke(this, e); }
private void Error(GenericEventArgs <Exception> e) { this.OnError?.Invoke(this, e); }
private static void ErrorHandler(object sender, GenericEventArgs <Exception> e) { Console.WriteLine("Unable to complete the TTS request: [{0}]", e.ToString()); }