diff options
author | Eric Laurent <elaurent@google.com> | 2015-08-24 17:27:39 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-08-24 17:27:39 +0000 |
commit | 12dfa17fabd653efe95f711df7bb0d7805d1eb08 (patch) | |
tree | 2097edd43866dea4c891f8fdf16e5d8fd8dd4883 /hal/voice.h | |
parent | 710ff10b00d1a6afaa9d03206ad65b29b09a0108 (diff) | |
parent | 9e7af36d52afbc04f3d86ba2739b93faa1f76b61 (diff) | |
download | hardware_qcom_audio-12dfa17fabd653efe95f711df7bb0d7805d1eb08.tar.gz hardware_qcom_audio-12dfa17fabd653efe95f711df7bb0d7805d1eb08.tar.bz2 hardware_qcom_audio-12dfa17fabd653efe95f711df7bb0d7805d1eb08.zip |
am 9e7af36d: Merge "hal: Fix sidetone sequence during voice call" into mnc-dr-dev
* commit '9e7af36d52afbc04f3d86ba2739b93faa1f76b61':
hal: Fix sidetone sequence during voice call
Diffstat (limited to 'hal/voice.h')
-rw-r--r-- | hal/voice.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hal/voice.h b/hal/voice.h index 76f9d0dd..23b9ee39 100644 --- a/hal/voice.h +++ b/hal/voice.h @@ -40,6 +40,7 @@ struct str_parms; struct stream_in; struct stream_out; typedef int audio_usecase_t; +typedef int snd_device_t; struct call_state { int current; @@ -90,4 +91,8 @@ int voice_check_and_set_incall_music_usecase(struct audio_device *adev, int voice_check_and_stop_incall_rec_usecase(struct audio_device *adev, struct stream_in *in); void voice_update_devices_for_all_voice_usecases(struct audio_device *adev); +void voice_set_sidetone(struct audio_device *adev, + snd_device_t out_snd_device, + bool enable); +bool voice_is_call_state_active(struct audio_device *adev); #endif //VOICE_H |