Add device change event to the event list.
#include <audio/audio_manager_event.h>
int audio_manager_add_device_change_event(audio_manager_event_context_t *context, audio_manager_device_t dev)
The context returned by audio_manager_get_event_context().
The audio device that the event is triggered for.
The audio_manager_add_device_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.
EOK upon success, negative errno upon failure.