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

Commit 1c590915 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: Enable and update channel count for SSR"

parents f6ff8ec2 82fd0c13
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -143,7 +143,8 @@ LOCAL_SHARED_LIBRARIES := \
    libtinycompress \
    libaudioroute \
    libdl \
    libexpat
    libexpat \
    libprocessgroup

LOCAL_C_INCLUDES := \
    vendor/qcom/opensource/audio-hal/primary-hal/hal \
@@ -168,7 +169,7 @@ endif

LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers
#include $(BUILD_SHARED_LIBRARY)
include $(BUILD_SHARED_LIBRARY)

#--------------------------------------------
#          Build HDMI_EDID LIB
+2 −1
Original line number Diff line number Diff line
@@ -9063,8 +9063,9 @@ static int adev_open_input_stream(struct audio_hw_device *dev,
            }
        }
    }

    if (audio_extn_ssr_get_stream() != in)
        in->config.channels = channel_count;

    in->sample_rate  = in->config.rate;

    audio_extn_utils_update_stream_input_app_type_cfg(adev->platform,