audio_manager_get_device_volume_control()

Get the type of volume control used for an audio device.

Synopsis:

#include <audio/audio_manager_device.h>
 
int audio_manager_get_device_volume_control(audio_manager_device_t dev, audio_manager_device_volume_control_t *control)

Since:

BlackBerry 10.0.0

Arguments:

dev

The type of the audio device to query.

control

The type of the volume control that's returned.

Library:

libaudio_manager (For the qcc command, use the -l audio_manager option to link against this library)

Description:

Use audio_manager_get_device_volume_control() to return the type of volume control used for the specified device.

Returns:

EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.