audio_manager_settings_reset_condition_t

Supported reset conditions of the routing preference settings.

Synopsis:

#include <audio/audio_manager_routing.h>
 
typedef enum {
      SETTINGS_NEVER_RESET = 0   
      SETTINGS_RESET_ON_DEVICE_DISCONNECTION = 1   
      SETTINGS_RESET_ON_DEVICE_CONNECTION = (1<<1)   
      SETTINGS_RESET_ON_PREFERRED_DEVICE_DISCONNECTION = (1<<2)   
      SETTINGS_RESET_ON_HIGHER_PRIORITY_DEVICE_CONNECTION = (1<<3)   
} audio_manager_settings_reset_condition_t;

Data:

SETTINGS_NEVER_RESET
The preferences are never reset.
SETTINGS_RESET_ON_DEVICE_DISCONNECTION
The preferences are reset when any device disconnects.
SETTINGS_RESET_ON_DEVICE_CONNECTION
The preferences are reset when any device connects.
SETTINGS_RESET_ON_PREFERRED_DEVICE_DISCONNECTION
The preferences are reset when the preferred device disconnects.
SETTINGS_RESET_ON_HIGHER_PRIORITY_DEVICE_CONNECTION
The preferences are reset when the higher priority device connects.

Library:

libaudio_manager

Description:

This enumeration defines the supported reset conditions of the routing preferences set by audio_manager_set_handle_type().