ushort GetSpeakerDetectionThreshold(Tcc2AudioHandler.eSpeakerDetectionThreshold value) { switch (value) { case Tcc2AudioHandler.eSpeakerDetectionThreshold.QuietRoom: return(0); case Tcc2AudioHandler.eSpeakerDetectionThreshold.NormalRoom: return(1); case Tcc2AudioHandler.eSpeakerDetectionThreshold.LoudRoom: return(2); default: return(0); } }
/// <summary> /// Event args for the base AudioHandler class /// </summary> public Tcc2AudioEventArgs(eTcc2AudioEventType type, Tcc2AudioHandler.eSpeakerDetectionThreshold value) { EventType = type; SpeakerDetectionThreshold = value; }