Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd8eaed6 authored by Alexy Joseph's avatar Alexy Joseph
Browse files

hal: add all compressed formats for app type selection

Support all compressed formats as mentioned in
audio_policy.conf for app type selection in compress_offload
section of audio_output_policy.conf.

CRs-fixed: 767955
Change-Id: Ifea1643429f1f9f5fdb587d4dfc4303e9af9ff40
parent 9ed27121
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -101,6 +101,9 @@ const struct string_to_enum s_format_name_to_enum_table[] = {
    STRING_TO_ENUM(AUDIO_FORMAT_PCM_24_BIT_OFFLOAD),
    STRING_TO_ENUM(AUDIO_FORMAT_FLAC),
    STRING_TO_ENUM(AUDIO_FORMAT_E_AC3_JOC),
    STRING_TO_ENUM(AUDIO_FORMAT_AAC_LC),
    STRING_TO_ENUM(AUDIO_FORMAT_AAC_HE_V1),
    STRING_TO_ENUM(AUDIO_FORMAT_AAC_HE_V2),
#endif
};