audio_manager_get_input_level()

Get the audio input level of the specified audio device.

Synopsis:

#include <audio/audio_manager_volume.h>
 
int audio_manager_get_input_level(audio_manager_device_t dev, double *level)

Since:

BlackBerry 10.0.0

Arguments:

dev

The audio device to query.

level

The input level being returned in percentage, 0.00 to 100.0 (e.g. 90.00 = 90%).

Library:

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

Description:

The audio_manager_get_input_level() function returns the audio input level of the specified audio device.

Returns:

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