hal: Fix VoIP output or input use audio path when compress VOIP call is active
When voice call happen during compress VOIP call, VoIP input would
choose audio record when insert headset. First when voice call is
started, the call mode change to IN_CALL. Second compress VOIP input
stream would be closed, and then re-open when headset insert. Due to
call mode is IN_CALL, the input stream only can use audio-record
usecase even if compress VOIP still is active.
This change is to make sure VOIP input and output use VOIP path
when compress VOIP call is active.
CRs-Fixed: 1087113
Change-Id: If0c8151197b3617b112383d97dea5a290525bb0b
1 file changed