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

Commit 0437464d authored by Weiyin Jiang's avatar Weiyin Jiang Committed by Gerrit - the friendly Code Review server
Browse files

hal: fix compilation error if disabling MULTI_VOICE_SESSIONS

Fix compilation error if disabling MULTI_VOICE_SESSIONS flag.

Change-Id: Icb64cd888849ddabb768be5d2e677e095b479ab2
CRs-Fixed: 2329145
parent e6fb6bc8
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -42,6 +42,8 @@ void voice_extn_in_get_parameters(struct stream_in *in,
void voice_extn_out_get_parameters(struct stream_out *out,
                                   struct str_parms *query,
                                   struct str_parms *reply);
int voice_extn_check_and_set_incall_music_usecase(struct audio_device *adev,
                                                  struct stream_out *out);
#else
static int __unused voice_extn_start_call(struct audio_device *adev __unused)
{
@@ -99,10 +101,15 @@ static void __unused voice_extn_out_get_parameters(struct stream_out *out __unus
                                          struct str_parms *reply __unused)
{
}

static int __unused voice_extn_check_and_set_incall_music_usecase(
                                          struct audio_device *adev __unused,
                                          struct stream_out *out __unused)
{
    return -ENOSYS;
}
#endif

int voice_extn_check_and_set_incall_music_usecase(struct audio_device *adev,
                                                  struct stream_out *out);
#ifdef COMPRESS_VOIP_ENABLED
int voice_extn_compress_voip_close_output_stream(struct audio_stream *stream);
int voice_extn_compress_voip_open_output_stream(struct stream_out *out);