audio: Fix BT sample rate handling properly
authorChristopher N. Hesse <raymanfx@gmail.com>
Tue, 16 Jan 2018 17:33:38 +0000 (18:33 +0100)
committerChristopher N. Hesse <raymanfx@gmail.com>
Sat, 20 Jan 2018 22:32:04 +0000 (22:32 +0000)
commite4a1c59a0b37a23062fa6dab4f26c1edc8fa0f30
treece3a0c7eca11aba6817829ebcf9608fb3b49736e
parent6c0020c6a9e50887b9571ef71d04dd622aa7380d
audio: Fix BT sample rate handling properly

This should now support both old and new headsets,
as we rely on codec negotiation in the bluetooth
stack for narrow/wide band switching.

Change-Id: Ie9d308dfc55726fd1591a7d158f610bd267340e6
(cherry picked from commit d462f7b86e957f858959ef5d80fd1744689ee6ea)
audio/audio_hw.c
audio/voice.c