hal: add input voip entry to be aligned with config file
Added audio input voip flag so that the same voip flag in config file
can be recognized and mapped to according value.
Added flag of mmap, av sync, and direct for future use.
Change-Id: I408b2f84ebee4fe84665827e8fdd832fde44141a
diff --git a/hal/audio_extn/utils.c b/hal/audio_extn/utils.c
index 906a37b..66d7441 100644
--- a/hal/audio_extn/utils.c
+++ b/hal/audio_extn/utils.c
@@ -160,6 +160,10 @@
STRING_TO_ENUM(AUDIO_INPUT_FLAG_TIMESTAMP),
STRING_TO_ENUM(AUDIO_INPUT_FLAG_COMPRESS),
STRING_TO_ENUM(AUDIO_INPUT_FLAG_PASSTHROUGH),
+ STRING_TO_ENUM(AUDIO_INPUT_FLAG_MMAP_NOIRQ),
+ STRING_TO_ENUM(AUDIO_INPUT_FLAG_VOIP_TX),
+ STRING_TO_ENUM(AUDIO_INPUT_FLAG_HW_AV_SYNC),
+ STRING_TO_ENUM(AUDIO_INPUT_FLAG_DIRECT),
};
const struct string_to_enum s_format_name_to_enum_table[] = {
@@ -243,6 +247,7 @@
return table[i].value;
}
}
+ ALOGE("%s cound not find %s", __func__, name);
return 0;
}