audiodevice_get_details()

Retrieve 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) BPS_DEPRECATED

Since:

BlackBerry 10.0.0

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 current version of the operating system, 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 (For the qcc command, use the -l bps option to link against this library)

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.