public int GetSpeakerDevList(int _fromIndex, int _toIndex, int _size, byte[] devList)//该函数用于获取扬声器设备列表 { try { LogManager.SystemLog.Debug(string.Format("Start UC_SDK_GetSpeakerDevList")); int iRet = UCInterface.UC_SDK_GetSpeakerDevList(_fromIndex, _toIndex, _size, devList); if (iRet != 0) { LogManager.SystemLog.Error(string.Format("Start UC_SDK_GetSpeakerDevList error {0}", iRet)); return(iRet); } LogManager.SystemLog.Debug(string.Format("End UC_SDK_GetSpeakerDevList")); return(iRet); } catch (Exception ex) { LogManager.SystemLog.Debug(ex.ToString()); return(-1); } }