audiodevice_get_details()

Get the details of an audio device.

Synopsis:

#include <bps/audiodevice.h>
 
BPS_API int audiodevice_get_details(audiodevice_device_t device, audiodevice_details_t *details)

Arguments:

device
The audio device to get the details of. If this value is AUDIODEVICE_DEVICE_UNRECOGNIZED or an audio device not supported by the version of BlackBerry Tablet OS, BPS_FAILURE is returned.
details
This will be populated with the details of the specified audio device. The caller must call audiodevice_free_details() when done with this structure.

Library:

libbps

Description:

Deprecated:

use audiodevice_get_info()

The audiodevice_get_details() function gets the details of the specified audio device.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.