Ejemplo n.º 1
0
        /// <summary>
        /// Sets VAD activity treshold for calculating VAD. 40 is some middle value for treshold.
        /// </summary>
        /// <param name="callIndex"></param>
        /// <param name="treshold"></param>
        /// <returns></returns>
        public ToxAvError SetVadTreshold(int callIndex, uint treshold)
        {
            if (_disposed)
            {
                throw new ObjectDisposedException(GetType().FullName);
            }

            return((ToxAvError)ToxAvFunctions.SetVadTreshold(_toxAv, callIndex, treshold));
        }