Example #1
0
        /** Changes the voice pitch of the local speaker.
         *
         * @param pitch Sets the voice pitch. The value ranges between 0.5 and 2.0. The lower the value, the lower the voice pitch. The default value is 1.0 (no change to the local voice pitch).
         *
         * @return
         * - 0: Success.
         * - < 0: Failure.
         */
        public override int SetLocalVoicePitch(double pitch)
        {
            if (_mEngine == null)
            {
                return((int)ERROR_CODE.ERROR_NOT_INIT_ENGINE);
            }

            return(IRtcEngineNative.setLocalVoicePitch(pitch));
        }