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

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

Merge " HAL: Modified condition to avoid audio Tx path for legacy targets"

parents 59fbc5e9 abdf748a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9523,6 +9523,7 @@ static int adev_open_input_stream(struct audio_hw_device *dev,
        in->config.rate = config->sample_rate;
        in->af_period_multiplier = 1;
    } else if (in->source == AUDIO_SOURCE_VOICE_COMMUNICATION &&
               (!voice_extn_is_compress_voip_supported()) &&
               in->flags & AUDIO_INPUT_FLAG_VOIP_TX &&
               (config->sample_rate == 8000 ||
                config->sample_rate == 16000 ||