diff options
author | Sean hoyt <seanhoyt963@gmail.com> | 2016-05-01 07:49:57 -0700 |
---|---|---|
committer | Sean hoyt <seanhoyt963@gmail.com> | 2016-05-01 07:53:17 -0700 |
commit | 866d090557452c9e8debcc05d48d95933e71127a (patch) | |
tree | a674687849af1506bb0de9fb42d3e4798cd9acc4 | |
parent | 49054baa2deaa982b964baa635c483fbe7d2e738 (diff) | |
download | hardware_qcom_audio-866d090557452c9e8debcc05d48d95933e71127a.tar.gz hardware_qcom_audio-866d090557452c9e8debcc05d48d95933e71127a.tar.bz2 hardware_qcom_audio-866d090557452c9e8debcc05d48d95933e71127a.zip |
Fix incall music enabled error
This broke it
https://github.com/CyanogenMod/android_hardware_qcom_audio/commit/f17c0998351f248051645ab3ba21ba9ee57a264d
Change-Id: Idcce338f8491977ec1d8da8cb52c8709cbe5789e
-rw-r--r-- | hal/voice.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hal/voice.c b/hal/voice.c index f5d77ca5..c65bbc74 100644 --- a/hal/voice.c +++ b/hal/voice.c @@ -409,8 +409,13 @@ snd_device_t voice_get_incall_rec_snd_device(snd_device_t in_snd_device) return incall_record_device; } +#ifdef INCALL_MUSIC_ENABLED int voice_check_and_set_incall_music_usecase(struct audio_device *adev, struct stream_out *out) +#else +inline int voice_check_and_set_incall_music_usecase(struct audio_device *adev __unused, + struct stream_out *out __unused) +#endif { int ret = 0; |