audio_hal: add incall recording feature

The uplink, downlink and the combination of both can be
recorded using sound recorder app. Add support for incall
recording feature in audio HAL.

Change-Id: Ia828ab5b3af8044d82b6ef8eb989ae0ba9bbba16
diff --git a/hal/voice.h b/hal/voice.h
index 22c359d..d5e5a8d 100644
--- a/hal/voice.h
+++ b/hal/voice.h
@@ -37,6 +37,7 @@
 
 struct audio_device;
 struct str_parms;
+struct stream_in;
 
 struct call_state {
     int current;
@@ -65,4 +66,6 @@
 int voice_set_mic_mute(struct audio_device *dev, bool state);
 bool voice_get_mic_mute(struct audio_device *dev);
 int voice_set_volume(struct audio_device *adev, float volume);
+int voice_check_and_set_incall_rec_usecase(struct audio_device *adev,
+                                       struct stream_in *in);
 #endif //VOICE_H