public int SetCurrentMicDev(int index)//该函数用于设置当前麦克风设备 { try { LogManager.SystemLog.Debug(string.Format("Start UC_SDK_SetCurrentMicDev")); int iRet = UCInterface.UC_SDK_SetCurrentMicDev(index); if (iRet != 0) { LogManager.SystemLog.Error(string.Format("Start UC_SDK_SetCurrentMicDev error {0}", iRet)); return(iRet); } LogManager.SystemLog.Debug(string.Format("End UC_SDK_SetCurrentMicDev")); return(iRet); } catch (Exception ex) { LogManager.SystemLog.Debug(ex.ToString()); return(-1); } }