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)

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 the condition(s) that the audio routing preference(s) gets set to.

Library:

libaudio_manager

Description:

The audio_manager_set_handle_routing_conditions() function sets the reset conditions of the preferred output and input routing path that are specified with audio_manager_set_handle_type().

Returns:

EOK upon success, negative errno upon failure.