public vx_evt_tts_injection_started_t as_vx_evt_tts_injection_started() { global::System.IntPtr cPtr = VivoxCoreInstancePINVOKE.vx_evt_base_t_as_vx_evt_tts_injection_started(swigCPtr); vx_evt_tts_injection_started_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new vx_evt_tts_injection_started_t(cPtr, false); return(ret); }
private void HandleTTSInjectionStarted(vx_evt_base_t eventMessage) { vx_evt_tts_injection_started_t evt = eventMessage; Debug.Assert(evt != null); TTSMessage matchingMessage = GetTTSMessageFromEvt(evt.utterance_id); if (null != matchingMessage) { matchingMessage.NumConsumers = evt.num_consumers; matchingMessage.Duration = evt.utterance_duration; matchingMessage.State = TTSMessageState.Playing; } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vx_evt_tts_injection_started_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }