Add a routing change event to the event list.
#include <audio/audio_manager_event.h>
int audio_manager_add_routing_change_event(audio_manager_event_context_t *context)
BlackBerry 10.0.0
The context returned by audio_manager_get_event_context().
Use audio_manager_add_routing_change_event() to add 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.
EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.