• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // This file is autogenerated by hidl-gen. Do not edit manually.
2 // Source: android.hardware.audio.common@7.0
3 // Location: hardware/interfaces/audio/common/7.0/
4 
5 #ifndef HIDL_GENERATED_ANDROID_HARDWARE_AUDIO_COMMON_V7_0_EXPORTED_CONSTANTS_H_
6 #define HIDL_GENERATED_ANDROID_HARDWARE_AUDIO_COMMON_V7_0_EXPORTED_CONSTANTS_H_
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 enum {
13     HAL_AUDIO_SESSION_DEVICE = -2 /* -2 */,
14     HAL_AUDIO_SESSION_OUTPUT_STAGE = -1 /* -1 */,
15     HAL_AUDIO_SESSION_OUTPUT_MIX = 0,
16 };
17 
18 enum {
19     HAL_AUDIO_MODE_NORMAL = 0,
20     HAL_AUDIO_MODE_RINGTONE = 1,
21     HAL_AUDIO_MODE_IN_CALL = 2,
22     HAL_AUDIO_MODE_IN_COMMUNICATION = 3,
23     HAL_AUDIO_MODE_CALL_SCREEN = 4,
24 };
25 
26 typedef enum {
27     AUDIO_ENCAPSULATION_MODE_NONE = 0,
28     AUDIO_ENCAPSULATION_MODE_ELEMENTARY_STREAM = 1,
29     AUDIO_ENCAPSULATION_MODE_HANDLE = 2,
30 } audio_encapsulation_mode_t;
31 
32 typedef enum {
33     AUDIO_ENCAPSULATION_METADATA_TYPE_NONE = 0,
34     AUDIO_ENCAPSULATION_METADATA_TYPE_FRAMEWORK_TUNER = 1,
35     AUDIO_ENCAPSULATION_METADATA_TYPE_DVB_AD_DESCRIPTOR = 2,
36 } audio_encapsulation_metadata_type_t;
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 #endif  // HIDL_GENERATED_ANDROID_HARDWARE_AUDIO_COMMON_V7_0_EXPORTED_CONSTANTS_H_
43