Adjust the audio output level of a specified device.
#include <audio/audio_manager_volume.h>
int audio_manager_adjust_output_level(audio_manager_device_t dev, double level)
BlackBerry 10.0.0
The audio device that the new output level is applied to.
The change in level of the audio output is provided as a percentage value. For example, value of 10.00 represents a 10% increase, while a value of -10.00 represents 10% decrease.
The audio_manager_adjust_output_level() function adjusts the audio output level of the specified device by a certain percentage value. A negative value means to decrease the output level, while a non-negative value means to increase the output level for. For example, when you set level to a value of 10.00, it represents a 10% increase to the existing output level. If you set the value to -10.00, it represents 10% decrease to the output level.
EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.