audiodevice_get_info()

Get the information on an audio device.

Synopsis:

#include <\audiodevice.h>
 
BPS_API int audiodevice_get_info(audiodevice_device_t device, audiodevice_info_t **info)

Arguments:

device
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.
info
This will be populated with the information on the specified audio device. The caller must call audiodevice_free_info() when done with this structure.

Library:

libbps

Description:

The audiodevice_get_info() function gets the information on the specified audio device.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.