Audio: fix voip calls over bluetooth headset.
authorstenkinevgeniy <stenkinevgeniy@gmail.com>
Mon, 9 Jul 2018 11:20:36 +0000 (11:20 +0000)
committerJan Altensen <info@stricted.net>
Tue, 5 Feb 2019 19:11:32 +0000 (20:11 +0100)
commit53929f79f9f1efe9ccd32a853ee99ce56003912f
treed31ab283e8cefe4330f84496bba5938c78a60454
parent282d59245efbb4f5da25551ed99bdb4798a819f2
Audio: fix voip calls over bluetooth headset.

Current HAL start/stop bt_sco session only for incall mode -
rewrite logic to start/stop bt session when system switch to
one of the bluetooth devices.
Move bt_sco_active and pcm_sco_rx/tx to main audio_device structure.
Remove bt_sco_capture profile.

Change-Id: I7bbe4273f759e255bb857f8292f2921df31d4b0b
Signed-off-by: stenkinevgeniy <stenkinevgeniy@gmail.com>
audio/audio_hw.c
audio/audio_hw.h
audio/voice.c
audio/voice.h