• Home
  • Raw
  • Download

Lines Matching refs:voice

50         session = &adev->voice.session[VOICE_SESS_IDX];  in voice_get_session_from_use_case()
229 voice_set_volume(adev, adev->voice.volume); in voice_start_usecase()
255 … call_state = (adev->voice.session[VOICE_SESS_IDX].state.current == CALL_ACTIVE) ? true : false; in voice_is_call_state_active()
263 return adev->voice.in_call; in voice_is_in_call()
368 adev->voice.mic_mute = state; in voice_set_mic_mute()
385 return adev->voice.mic_mute; in voice_get_mic_mute()
395 if (adev->voice.mic_mute) { in voice_set_device_mute_flag()
411 adev->voice.volume = volume; in voice_set_volume()
436 adev->voice.in_call = true; in voice_start_call()
438 voice_set_mic_mute(adev, adev->voice.mic_mute); in voice_start_call()
452 adev->voice.in_call = false; in voice_stop_call()
504 if (tty_mode != adev->voice.tty_mode) { in voice_set_parameters()
505 adev->voice.tty_mode = tty_mode; in voice_set_parameters()
520 if (hac != adev->voice.hac) { in voice_set_parameters()
521 adev->voice.hac = hac; in voice_set_parameters()
547 memset(&adev->voice, 0, sizeof(adev->voice)); in voice_init()
548 adev->voice.tty_mode = TTY_MODE_OFF; in voice_init()
549 adev->voice.hac = false; in voice_init()
550 adev->voice.volume = 1.0f; in voice_init()
551 adev->voice.mic_mute = false; in voice_init()
552 adev->voice.in_call = false; in voice_init()
556 adev->voice.session[i].pcm_rx = NULL; in voice_init()
557 adev->voice.session[i].pcm_tx = NULL; in voice_init()
558 adev->voice.session[i].state.current = CALL_INACTIVE; in voice_init()
559 adev->voice.session[i].state.new = CALL_INACTIVE; in voice_init()
560 adev->voice.session[i].vsid = VOICE_VSID; in voice_init()