1 // This file is autogenerated by hidl-gen. Do not edit manually. 2 // Source: android.hardware.audio@7.0 3 // Location: hardware/interfaces/audio/7.0/ 4 5 #ifndef HIDL_GENERATED_ANDROID_HARDWARE_AUDIO_V7_0_EXPORTED_CONSTANTS_H_ 6 #define HIDL_GENERATED_ANDROID_HARDWARE_AUDIO_V7_0_EXPORTED_CONSTANTS_H_ 7 8 #ifdef __cplusplus 9 extern "C" { 10 #endif 11 12 typedef enum { 13 AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED = 0u, 14 AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT = 1u, 15 AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED = 2u, 16 } audio_microphone_channel_mapping_t; 17 18 typedef enum { 19 AUDIO_MICROPHONE_LOCATION_UNKNOWN = 0u, 20 AUDIO_MICROPHONE_LOCATION_MAINBODY = 1u, 21 AUDIO_MICROPHONE_LOCATION_MAINBODY_MOVABLE = 2u, 22 AUDIO_MICROPHONE_LOCATION_PERIPHERAL = 3u, 23 } audio_microphone_location_t; 24 25 typedef enum { 26 AUDIO_MICROPHONE_DIRECTIONALITY_UNKNOWN = 0u, 27 AUDIO_MICROPHONE_DIRECTIONALITY_OMNI = 1u, 28 AUDIO_MICROPHONE_DIRECTIONALITY_BI_DIRECTIONAL = 2u, 29 AUDIO_MICROPHONE_DIRECTIONALITY_CARDIOID = 3u, 30 AUDIO_MICROPHONE_DIRECTIONALITY_HYPER_CARDIOID = 4u, 31 AUDIO_MICROPHONE_DIRECTIONALITY_SUPER_CARDIOID = 5u, 32 } audio_microphone_directionality_t; 33 34 typedef enum { 35 MIC_DIRECTION_UNSPECIFIED = 0, 36 MIC_DIRECTION_FRONT = 1, 37 MIC_DIRECTION_BACK = 2, 38 MIC_DIRECTION_EXTERNAL = 3, 39 } audio_microphone_direction_t; 40 41 typedef enum { 42 AUDIO_DUAL_MONO_MODE_OFF = 0, 43 AUDIO_DUAL_MONO_MODE_LR = 1, 44 AUDIO_DUAL_MONO_MODE_LL = 2, 45 AUDIO_DUAL_MONO_MODE_RR = 3, 46 } audio_dual_mono_mode_t; 47 48 typedef enum { 49 AUDIO_TIMESTRETCH_STRETCH_DEFAULT = 0, 50 AUDIO_TIMESTRETCH_STRETCH_VOICE = 1, 51 } audio_timestretch_stretch_mode_t; 52 53 enum { 54 HAL_AUDIO_TIMESTRETCH_FALLBACK_MUTE = 1, 55 HAL_AUDIO_TIMESTRETCH_FALLBACK_FAIL = 2, 56 }; 57 58 #ifdef __cplusplus 59 } 60 #endif 61 62 #endif // HIDL_GENERATED_ANDROID_HARDWARE_AUDIO_V7_0_EXPORTED_CONSTANTS_H_ 63