audio_manager_get_output_level()

Get the audio output level of a specified device.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

dev

The audio device to query.

level

The output level being returned as a percentage value between 0.00 to 100.0.

Library:

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

Description:

Use audio_manager_get_output_level() to return the audio output level of the specified device. The value is returned in the level argument that represents a percentage of the maximum output level. For example, if A value of 90.00 is returned, it that the current output level is 90% of the maximum.

Returns:

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