The supported audio events.
Synopsis:
#include <audio/audio_manager_event.h>
typedef enum {
AUDIO_ROUTING_CHANGE
AUDIO_CONCURRENCY_CHANGE
AUDIO_DEVICE_CHANGE
AUDIO_VOLUME_CHANGE
AUDIO_HEADPHONE_BOOST_CHANGE
AUDIO_VOICE_VOLUME_CHANGE
AUDIO_VOICE_SERVICE_CHANGE
AUDIO_DEVICE_BUTTON_CHANGE
AUDIO_HEADPHONE_UNSAFE_ZONE_CHANGE
AUDIO_STAT_CHANGE
AUDIO_VOICE_OPTION_CHANGE
AUDIO_HEADPHONE_OUTPUT_VOLUME_REGULATION_CHANGE
} audio_manager_event_type_t;
Data:
-
AUDIO_ROUTING_CHANGE
- Changes to the audio input/output path.
-
AUDIO_CONCURRENCY_CHANGE
- Changes to the audio concurrent policy of a given audio type.
-
AUDIO_DEVICE_CHANGE
- Changes to the attribute(s) of a given audio device.
-
AUDIO_VOLUME_CHANGE
- Changes to the volume of a given audio device.
-
AUDIO_HEADPHONE_BOOST_CHANGE
- Changes to the headphone volume boost settings.
-
AUDIO_VOICE_VOLUME_CHANGE
- Changes to the volume of a given audio device during voice calls.
-
AUDIO_VOICE_SERVICE_CHANGE
- Changes to the status of a given voice service.
-
AUDIO_DEVICE_BUTTON_CHANGE
- Changes to the button state of a given audio device.
-
AUDIO_HEADPHONE_UNSAFE_ZONE_CHANGE
- Changes to the button state of a given audio device.
-
AUDIO_STAT_CHANGE
- Changes to the statistics of audio usage.
-
AUDIO_VOICE_OPTION_CHANGE
- Changes to the audio options of the voice services.
-
AUDIO_HEADPHONE_OUTPUT_VOLUME_REGULATION_CHANGE
- Changes to the headphone output volume regulation.
-
AUDIO_EVENT_TYPE_COUNT
Library:
libaudio_manager
Description:
This enumeration defines the audio events currently supported.