/// <param name="devInfo">Variable receiving the device information</param>
        /// <inheritdoc cref="RemoteApiWrapper.GetOutputDeviceDescriptor(int, out int, out string, out string)"/>
        public Int32 GetOutputDeviceDescriptor(Int32 index, out BasicDeviceInfo devInfo)
        {
            var resp = GetOutputDeviceDescriptor(index, out Int32 type, out string deviceName, out string hardwareID);

            devInfo = new BasicDeviceInfo(deviceName, hardwareID, (DeviceType)type);
            return(resp);
        }
        /// <summary>
        ///     Get name and hardware ID of the device according index
        /// </summary>
        /// <param name="route">What type of device (input or output)</param>
        /// <inheritdoc cref="GetOutputDeviceDescriptor(int, out BasicDeviceInfo)"/>
        public Int32 GetDeviceDescriptor(Int32 index, out BasicDeviceInfo devInfo, DeviceRoute route)
        {
            Int32 resp;

            if (route == DeviceRoute.Input)
            {
                resp = GetInputDeviceDescriptor(index, out devInfo);
            }
            else
            {
                resp = GetOutputDeviceDescriptor(index, out devInfo);
            }
            return(resp);
        }