Get the audio output level of a specified device.
#include <audio/audio_manager_volume.h>
int audio_manager_get_output_level(audio_manager_device_t dev, double *level)
BlackBerry 10.0.0
The audio device to query.
The output level being returned as a percentage value between 0.00 to 100.0.
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.
EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.