audio_manager_add_status_hp_output_volume_regulation_change_event()

Add a headphone output volume regulation change event to the event list.

Synopsis:

#include <audio/audio_manager_event.h>
 
int audio_manager_add_status_hp_output_volume_regulation_change_event(audio_manager_event_context_t *context)

Arguments:

context

The context returned by audio_manager_get_event_context().

Library:

libaudio_manager

Description:

The audio_manager_add_status_hp_output_volume_regulation_change_event() function adds the change event to the event list, which is monitored by calls to audio_manager_get_event().

The function interrupts the audio_manager_get_event() function if it is already being blocked in another thread. The audio_manager_get_event() function is then called to include the new event.

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.