Get the audio output level of a given audio device during voice calls.
#include <audio/audio_manager_volume.h>
int audio_manager_get_voice_output_level(audio_manager_device_t dev, double *level)
The audio device to query.
The output level being returned in percentage, 0.00 - 100.0 (e.g. 90.00 = 90%).
The audio_manager_get_voice_output_level() function returns the audio output level of a given audio device during voice calls.
A process must have either an effective user ID of root, or the authman capability of access_audio_manager, to use this function.
Note that this function is intended for use by system components. Therefore, it is not suitable for all applications.
EOK upon success, negative errno upon failure.