audio_manager_set_handle_attenuation()

Override the attenuation that's associated with the type of the given audio manager handle.

Synopsis:

#include <audio/audio_manager_concurrency.h>
 
int audio_manager_set_handle_attenuation(unsigned int audioman_handle, audio_manager_attenuation_params_t params)

Arguments:

audioman_handle

The audio manager handle returned by audio_mananger_get_handle.

params

The parameters for the handle attenuation to apply.

Library:

libaudio_manager

Description:

The audio_manager_set_handle_attenuation() function overrides the attenuation of the given audio manager handle applied to the lower ducking priority audio sources.

Note that this function is intended for use by system components. Therefore, it is not suitable for all applications

Returns:

EOK upon success, negative errno upon failure.