audio_manager_set_headphone_volume_boost()

Set the use of the headphone output volume boost.

Synopsis:

#include <audio/audio_manager_volume.h>
 
int audio_manager_set_headphone_volume_boost(bool enable)

Arguments:

enable

true if the extra volume boost is allowed, false otherwise.

Library:

libaudio_manager

Description:

The audio_manager_set_headphone_volume_boost() function sets the enable status of the headphone output level to allow an extra volume boost to the headphone output.

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.

Returns:

EOK upon success, negative errno upon failure.