/// <summary> /// Detects whether some activity is present in the call. /// </summary> /// <param name="callIndex"></param> /// <param name="pcm"></param> /// <param name="frameSize"></param> /// <param name="refEnergy"></param> /// <returns></returns> public int HasActivity(int callIndex, short[] pcm, ushort frameSize, float refEnergy) { if (_disposed) { throw new ObjectDisposedException(GetType().FullName); } return(ToxAvFunctions.HasActivity(_toxAv, callIndex, pcm, frameSize, refEnergy)); }