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

Commit fb964e9e authored by Manish Dewangan's avatar Manish Dewangan
Browse files

hal: Make LL as primary output

On LE speaker protection not working as it expects primary output
to be always present which is not the case currently.

To fix this, make LL as primary output and when hal client opens
primary output LL path will be chosen.

Change-Id: If6321936b2f9dd4a9dd9ad6f54a1b1bbc3099786
parent 019817df
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -137,6 +137,7 @@ AM_CONDITIONAL([AUDIO_HW_FFV], [test x$AUDIO_FEATURE_ENABLED_FFV = xtrue])
AM_CONDITIONAL([CUSTOM_STEREO], [test x$AUDIO_FEATURE_ENABLED_CUSTOM_STEREO = xtrue])
AM_CONDITIONAL([RUN_KEEP_ALIVE_IN_ARM_FFV], [test x$AUDIO_FEATURE_ENABLED_KEEP_ALIVE_ARM_FFV = xtrue])
AM_CONDITIONAL([INSTANCE_ID], [test x$AUDIO_FEATURE_ENABLED_INSTANCE_ID = xtrue])
AM_CONDITIONAL([LL_AS_PRIMARY_OUTPUT], [test x$AUDIO_USE_LL_AS_PRIMARY_OUTPUT = xtrue])

AC_CONFIG_FILES([ \
        Makefile \
+4 −0
Original line number Diff line number Diff line
@@ -208,6 +208,10 @@ if INSTANCE_ID
AM_CFLAGS += -DINSTANCE_ID_ENABLED
endif

if LL_AS_PRIMARY_OUTPUT
AM_CFLAGS += -DUSE_LL_AS_PRIMARY_OUTPUT
endif

h_sources = audio_extn/audio_defs.h \
            audio_extn/audio_extn.h \
            audio_hw.h \