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

Skip to content
Commit 9e59a968 authored by John Muir's avatar John Muir
Browse files

msm8974: Honor input_mic_max_count property when set to 1.

The default value of max_mic_count is 2. max_mic_count is set to
the value specified by the input_mic_max_count property in
audio_platform_info.xml.

Honor the input_mic_max_count property when set to 1. Prior to
this change when max_mic_count this value is 1, the
'source_mic_type' includes SOURCE_DUAL_MIC. For the single mic
case, we don't want that.

Bug: 71773847
Test: Recording on a device with a single microphone uses
      single-mic paths instead of dual mic paths when recording
      flucence/voice or when specifying two mics.

Change-Id: I2b3be6333d4c58a611026ad63bc4178dca0a13ca
parent 12dee915
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment