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

Commit 1fab302c authored by Alexy Joseph's avatar Alexy Joseph Committed by Rashed Abdel-Tawab
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 84231407
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -94,6 +94,10 @@ const struct string_to_enum s_format_name_to_enum_table[] = {
    STRING_TO_ENUM(AUDIO_FORMAT_PCM_16_BIT_OFFLOAD),
    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
};