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

Commit cbf33541 authored by Ravi Kumar Alamanda's avatar Ravi Kumar Alamanda Committed by Gerrit - the friendly Code Review server
Browse files

hal: Fix compilation issue when Dolby DS1 feature is disabled

Correct the input arguments to fix the compile time issue when
the Dolby DS1 feature is disabled.

Change-Id: I85e77d8b6549a98b9635640820cfa78dd3c89df4
CRs-Fixed: 636548
parent 35b7d987
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -166,7 +166,7 @@ void audio_extn_dolby_set_dmid(struct audio_device *adev);
#endif

#ifndef DS1_DOLBY_DDP_ENABLED
#define audio_extn_dolby_set_endpoint()                 (0)
#define audio_extn_dolby_set_endpoint(adev)                 (0)
#else
void audio_extn_dolby_set_endpoint(struct audio_device *adev);
#endif
@@ -174,7 +174,7 @@ void audio_extn_dolby_set_endpoint(struct audio_device *adev);
#ifndef DS1_DOLBY_DDP_ENABLED
#define audio_extn_ddp_set_parameters(adev, parms)      (0)
#define audio_extn_is_dolby_format(format)              (0)
#define audio_extn_dolby_get_snd_codec_id(format)       (0)
#define audio_extn_dolby_get_snd_codec_id(adev, out, format)       (0)
#define audio_extn_dolby_send_ddp_endp_params(adev)     (0)
#else
bool audio_extn_is_dolby_format(audio_format_t format);