audio_manager_remove_voice_audio_option_change_event()

Remove a voice audio option change event from the event list.

Synopsis:

#include <audio/audio_manager_event.h>
 
int audio_manager_remove_voice_audio_option_change_event(audio_manager_event_context_t *context, audio_manager_voice_service_t service, audio_manager_device_t dev)

Arguments:

context

The context returned by audio_manager_get_event_context().

service

The voice service that the event is triggered for.

dev

The audio device that the event is triggered for.

Library:

libaudio_manager

Description:

The audio_manager_remove_voice_audio_option_change_event() function removes 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 is already being blocked in another thread. The audio_manager_get_event() function is then called to include the new event.

Returns:

EOK upon success, negative errno upon failure.