Lines Matching full:voice
17 #define LOG_TAG "voice"
27 #include "voice.h"
48 session = &adev->voice.session[VOICE_SESS_IDX];
155 voice_set_volume(adev, adev->voice.volume);
181 call_state = (adev->voice.session[VOICE_SESS_IDX].state.current == CALL_ACTIVE) ? true : false;
189 return adev->voice.in_call;
250 ALOGV("%s: voice call not active", __func__);
289 adev->voice.mic_mute = state;
298 return adev->voice.mic_mute;
305 adev->voice.volume = volume;
315 // Voice volume levels from android are mapped to driver volume levels as follows.
330 adev->voice.in_call = true;
343 adev->voice.in_call = false;
395 if (tty_mode != adev->voice.tty_mode) {
396 adev->voice.tty_mode = tty_mode;
411 if (hac != adev->voice.hac) {
412 adev->voice.hac = hac;
438 memset(&adev->voice, 0, sizeof(adev->voice));
439 adev->voice.tty_mode = TTY_MODE_OFF;
440 adev->voice.hac = false;
441 adev->voice.volume = 1.0f;
442 adev->voice.mic_mute = false;
443 adev->voice.in_call = false;
445 adev->voice.session[i].pcm_rx = NULL;
446 adev->voice.session[i].pcm_tx = NULL;
447 adev->voice.session[i].state.current = CALL_INACTIVE;
448 adev->voice.session[i].state.new = CALL_INACTIVE;
449 adev->voice.session[i].vsid = VOICE_VSID;