Commit Graph

20 Commits

Author SHA1 Message Date
Carter Hsu
928955b464 audio: enable soundtrigger concurrent cpature
Bug: 129111371
Test: manual
Change-Id: Ib6a81f56e75331bae086ef599714794bcb66b7c9
Signed-off-by: Carter Hsu <carterhsu@google.com>
2019-05-24 11:21:55 +00:00
Cheney Ni
b9e66da8d1 Reland BluetoothAudio HAL: flip to be enabled by default on Pixel 2
Swap audio XML files, and supports following scenarios:
1) (default) audio_policy_configuration.xml
   Using BluetoothAudio HAL
2) audio_policy_configuration_bluetooth_legacy_hal.xml
   No BluetoothAudio HAL nor A2DP offload

Bug: 126304229
Test: Switch BluetoothAudio HAL manully
(cherry picked from commit 6a8178d9df)

Change-Id: I1927dd49b09579a3f830558beb4d4e117842f3dc
2019-02-27 16:34:29 -08:00
Hansong Zhang
d993239b00 Revert "BluetoothAudio HAL: flip to be enabled by default on Pixel 2"
This reverts commit 6a8178d9df.

Reason for revert: Broke test

Change-Id: I88181edb1d0eb6cc16316817a82bd18f8e325f1d
2019-02-27 19:00:02 +00:00
Cheney Ni
6a8178d9df BluetoothAudio HAL: flip to be enabled by default on Pixel 2
Swap audio XML files, and supports following scenarios:
1) (default) audio_policy_configuration.xml
   Using BluetoothAudio HAL
2) audio_policy_configuration_bluetooth_legacy_hal.xml
   No BluetoothAudio HAL nor A2DP offload

Bug: 126304229
Test: Switch BluetoothAudio HAL manully
Change-Id: If724fea15398062288390825ca045e595b7907f3
2019-02-26 15:47:15 +08:00
Eric Laurent
a6bb5dd866 Enable BLE Hearing Aid on wahoo
Bug: 69623109
Change-Id: Id138c157dd508a4c42167095f30d68fad1013ac5
2018-03-12 16:42:12 +00:00
Nadav Bar
b4dcb5d2da Add incall music policy to walleye and taimen
This change adds the incall music mix port to walleye and taimen audio policy oconfiguration.
This change was tested together with a set of additional changes to the
audio framework and the HAL which introduces the ability to
play pcm audio to the uplink stream.

Bug: 69973354.
Test: Tested manually.
Change-Id: Iec4f72d836cf391645c2af891d62da9c2a6f240c
2018-01-22 13:57:37 +02:00
Eric Laurent
f2608d3de0 audio: do not use direct flag for voip rx output
Dedicated output profile for VoIP should not be a direct output as
it prevents from playing two audio tracks simultaneously which breaks
call signalling played on top of Rx call audio.

Bug: 64392515
Test: Fi call, Duo Calls
Change-Id: I4e62ba3be3da079ff32be9b92d5d5fa28e0f5e2b
2017-09-20 17:34:34 -07:00
Haynes Mathew George
a5dee775a7 audio: Change deep buffer output profile bit width to 24 bit packed.
Change bit_width of the deep buffer output profiles to 24 bit

Test: test all audio paths
Bug: 62918461

Change-Id: Ie79f74fd4540749af0269da5f73143406e519d68
2017-07-06 15:58:23 -07:00
David Lin
818f79613f Revert "Revert "Update audio policy configuration""
This reverts commit d1f39f3f2a.

Bug: 35675592
Test: ringtone on speaker and USB headset
Change-Id: Ibbef05c2acdd8e588ea5936c03f33b12311e683c
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-16 11:35:15 -07:00
David Lin
26642a8ba8 audio: fix incorrect policy configuration
Fix an incorrect setting on voice_rx mixport

Bug: 62393776
Test: voip call
Change-Id: Ie3bc1f124bc8fb3bc07aa175366c6edfa3c3411a
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-16 11:31:14 -07:00
Haynes Mathew George
853aecdf9b wahoo: voip rx controls
mixer path additions
audio_platform info updates

Bug: 62393776
Test: hangout call
Change-Id: I7af811856846d8075e16ff8f540a7931d31581c9
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-15 02:25:22 +00:00
Eric Laurent
2cac386a0b audio: add policy configuation for mmap no irq mode
Bug: 33398120
Test: build taimen-eng
Change-Id: I0d83ef83b536de0613a20ccf6a72baf8f64f0ff5
2017-06-12 18:06:43 +00:00
Haynes Mathew George
7561cf7d4d audio: Add profile for hifi record
Add profile to support hifi capture from USB

Test: test playback and capture with and without USB headset

Change-Id: I43a21961eaa64ff27614978ebc53a1d9ca3dbf26
2017-06-02 20:59:53 +00:00
Eric Laurent
a809761a6a fix audio policy configuration
Test: verify playback and capture use cases
Change-Id: I37850d671f74ccde2193ce87a74106a6c2b89147
2017-05-31 18:32:08 -07:00
David Lin
d1f39f3f2a Revert "Update audio policy configuration"
This reverts commit 1a7c8bbb26.

Bug: 62101879
Change-Id: Ibcc168cbc723357108aa29e35ba2aa58dd266474
2017-05-26 01:32:16 +00:00
Jean-Michel Trivi
1a7c8bbb26 Update audio policy configuration
Add speaker safe.
Remove all "wired" devices, device ports and routes.

Test: play ringtone, verify device in dump of audio_flinger is SPEAKER_SAFE
Bug: 62040266
Bug: 35675592
Change-Id: I5f396d7ebf44019f97ac9a2fc51d6aa32a3737ca
2017-05-23 17:55:43 -07:00
Haynes Mathew George
5dae0c68c6 audio: hifi profile
Add controls for hifi profile

Test: phone call, playback, capture with and without USB headset
Bug: 37304195
Change-Id: Ieff367b3a699076f9be62e97be8b752449dab51c
Signed-off-by: David Lin <dtwlin@google.com>
2017-05-16 21:15:06 +00:00
David Lin
6016d33534 Revert "Partial revert "audio: enable usb audio tunnel support""
This reverts commit 1238fe2b24.
2017-03-13 09:59:19 -07:00
Mikhail Naganov
1238fe2b24 Partial revert "audio: enable usb audio tunnel support"
This partially reverts commit 6616d417ce84c0f235396af90bb66e4c83f5c550.

Bug: 36049443
Change-Id: I5ee9de31ab5e80620d2f63ce7e0208fe3a199ce6
Test: none
2017-03-09 09:17:11 -08:00
Thierry Strudel
4e18dc435b Import common file from device specific directory
Test: boot, basic functionality
Change-Id: I9c07718b481730c3388f99c5e1eff17c9fd75a7b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-04 23:34:45 -08:00