Get the information on an audio device.
BPS_API int audiodevice_get_info(audiodevice_device_t device, audiodevice_info_t **info)
- The audio device to get the information on. If this value is AUDIODEVICE_DEVICE_UNRECOGNIZED or an audio device that's not supported by the device, BPS_FAILURE is returned.
- This will be populated with the information on the specified audio device. The caller must call audiodevice_free_info() when done with this structure.
The audiodevice_get_info() function gets the information on the specified audio device.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.