audio_manager_set_output_level()

Set the audio output level of the specified audio device.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

dev

The audio device that the new output level is applied to.

level

The new output level as a percentage value from 0.00 to 100.00.

Library:

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

Description:

The audio_manager_set_output_level() function sets the audio output level of a device. The value is set using the level argument that represents a percentage of the maximum output level. For example, if, a value of 90.00 is specified, the output level is set to 90% of the maximum.

Returns:

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