diff options
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 |