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

Commit fa3128d9 authored by Vikram Panduranga's avatar Vikram Panduranga
Browse files

hal: Fix COMPRESS VOIP feature flag usage

Fix a typo that was incorrectly using COMPRESS VOIP flag.

Change-Id: I1138d6573ceae47115b334818caf1e284e94442c
parent 319b1cdd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5543,7 +5543,7 @@ int adev_open_output_stream(struct audio_hw_device *dev,
    }

    /* Init use case and pcm_config */
#ifndef COMPRES_ENABLED
#ifndef COMPRESS_VOIP_ENABLED
    if (out->flags == (AUDIO_OUTPUT_FLAG_DIRECT | AUDIO_OUTPUT_FLAG_VOIP_RX) &&
        (out->sample_rate == 8000 || out->sample_rate == 16000 ||
         out->sample_rate == 32000 || out->sample_rate == 48000)) {