audio_manager_add_voice_volume_change_event()

Add a voice volume change event to the event list.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

context

The context returned by audio_manager_get_event_context().

dev

The audio device that the event is triggered for.

Library:

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

Description:

Use audio_manager_add_voice_volume_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'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.