audio_manager_set_handle_routing_conditions()

Set the reset condition of the preferred input and output.

Synopsis:

#include <audio/audio_manager_routing.h>
 
int audio_manager_set_handle_routing_conditions(unsigned int audioman_handle, int routing_preference_reset_conditions)

Since:

BlackBerry 10.0.0

Arguments:

audioman_handle

The audio manager handle that the conditions apply to.

routing_preference_reset_conditions

The bitmask of audio_manager_settings_reset_condition_t that specifies more or more conditions that use the audio routing preferences that it gets set to.

Library:

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

Description:

An audio manager handle is used to track each audio source. Use audio_manager_set_handle_routing_conditions() to set the reset conditions of the preferred output and input routing path. Both are specified using audio_manager_set_handle_type().

Returns:

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