'Return the Device parameters for device specified in
`device_index` as a dictionary. The keys of the dictionary
mirror the data fields of PortAudio\'s ``PaDeviceInfo``
structure.
:param device_index: The device index
:raises IOError: Invalid `device_index`.
:rtype: dict'

def get_device_info_by_index(self, device_index):

    return self._make_device_info_dictionary(device_index, pa.get_device_info(device_index))
