audio_manager_remove_status_hp_unsafe_zone_change_event()

Remove a headphone volume unsafe-zone change event from the event list.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

context

The context returned by audio_manager_get_event_context().

Library:

libaudio_manager (For the qcc command, use the -l audio_manager option to link against this library)

Description:

Use audio_manager_remove_status_hp_unsafe_zone_change_event() to remove the event from the event list, which is monitored by calls to audio_manager_get_event(). The function interrupts the audio_manager_get_event() function if it's blocked in another thread. Call audio_manager_get_event() after you call this function to include the new change event that was added by this function.

Returns:

EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.