audio_manager_adjust_output_level()

Adjust the audio output level of a given audio device.

Synopsis:

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

Arguments:

dev

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

level

The change in level of the audio output in percentage (e.g. 10.00 = 10% increase, -10.00 = 10% decrease)

Library:

libaudio_manager

Description:

The audio_manager_adjust_output_level() function adjusts the audio output level of a given audio device.

Returns:

EOK upon success, negative errno upon failure.