audio_manager_get_headphone_output_level_regulation_status()

Get whether the current headphone output level is restricted due to regulations.

Synopsis:

#include <audio/audio_manager_volume.h>
 
int audio_manager_get_headphone_output_level_regulation_status(audio_manager_headphone_output_regulation_t *status)

Arguments:

status

The status of the output level as audio_manager_headphone_output_regulation_t.

Library:

libaudio_manager

Description:

The audio_manager_get_headphone_level_regulated() function returns whether the level of the current headphone output level is regulated to a lower level than the user or application might have set.

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.