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

Commit 7a9e59d8 authored by Narsinga Rao Chella's avatar Narsinga Rao Chella Committed by Gerrit - the friendly Code Review server
Browse files

hal: Fix compilation issue seen when a feature flag is defined

This change is needed to fix a compilation warning in Compress VoIP
code when the feature flag "AUDIO_FEATURE_DISABLED_MULTI_VOICE_SESSIONS"
is defined.

Change-Id: Ie19f542dc71705bc27a7278c83236904782f3a5e
CRs-Fixed: 590219
parent d3072b69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -166,7 +166,7 @@ static int voice_extn_compress_voip_open_input_stream(struct stream_in *in)
    return -ENOSYS;
}

static int voice_extn_compress_voip_out_get_buffer_size(struct audio_stream *stream)
static int voice_extn_compress_voip_out_get_buffer_size(struct stream_out *stream)
{
    ALOGE("%s: COMPRESS_VOIP_ENABLED is not defined", __func__);
    return -ENOSYS;