hal: Ensure mic mute state updated before starting voice call
Currently the mic mute state is not propagated to the DSP if the call is already disconnected. Change-Id: I85cc5c202aea0dc818390b49fe2a3fcd6e62973c
This commit is contained in:
parent
16b2dd39c4
commit
b000e0b28f
|
@ -157,6 +157,8 @@ int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id)
|
||||||
}
|
}
|
||||||
ALOGD("voice_config.rate %d\n", voice_config.rate);
|
ALOGD("voice_config.rate %d\n", voice_config.rate);
|
||||||
|
|
||||||
|
voice_set_mic_mute(adev, adev->voice.mic_mute);
|
||||||
|
|
||||||
ALOGV("%s: Opening PCM playback device card_id(%d) device_id(%d)",
|
ALOGV("%s: Opening PCM playback device card_id(%d) device_id(%d)",
|
||||||
__func__, adev->snd_card, pcm_dev_rx_id);
|
__func__, adev->snd_card, pcm_dev_rx_id);
|
||||||
session->pcm_rx = pcm_open(adev->snd_card,
|
session->pcm_rx = pcm_open(adev->snd_card,
|
||||||
|
|
Loading…
Reference in New Issue