Commit Graph

27 Commits

Author SHA1 Message Date
juyuchen
e76a6ff6f2 audio: update table : add bt-sco and speaker-safe path
Bug: 78257659
Test: manual audio test on M2

Change-Id: If17a4a0451891185fd7e6a073b9cc29c0ea6a7a5
Signed-off-by: juyuchen <juyuchen@google.com>
2018-05-22 17:35:57 +08:00
jiabin
62a9ac6097 Populate microphone characteristics and snd device mapping
Populate microphone characteristics for supported microphones on
platform. Map input sound devices to specific microphone ids.

Bug: 75041465
Test: try open mic and print log to check if the info is correct
Change-Id: Id4498643f449e80544151b29ef3af4efa8b5ac4b
2018-05-10 10:36:02 -07:00
jiabin
11c5a0eac7 Add actual data for microphone characteristics.
Bug: 75041465
Test: run cts
Change-Id: I391b7af81cb758c60dc39a1c286fc288de7de56d
2018-05-03 15:20:14 -07:00
Jakub Pawlowski
cda8d25911 Fix Hearing Aid microphone not working during phone call
Bug: 77634055
Test: make phone call, use microphone
Change-Id: If53342c3e787ba8ee303e72cabcd27b62076a4c3
2018-04-19 10:19:03 -07:00
jiabin
1ec2484c83 Add fake mic info for taimen.
AudioManagerTest.testGetMicrophones failed on taimen due to no
microphones data. Adding fake data right now to pass the CTS and update
with actual data once we get it.

Bug: 64038649
Bug: 77983724
Test: run cts
Change-Id: I4446b38285803cfe04905a870838f1a24df08585
2018-04-13 16:18:28 -07:00
Nadav Bar
43ef112726 Add incall music to taimen mixer paths
This change adds the paths for taimen for the incall music
use case. The path is which is used is incall-music-uplink.
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: I5e5b7b4fa1169988f802f9da33e0db97964c73ce
2018-01-22 13:36:51 +02:00
rago
e4b90fa4e0 Adding missing UNPROCESSED mic definitions
Bug: 67712469
Test: Manual test with SoloTester app
Change-Id: I2a4ad064ac532f0e1685af8702d12d7fd8b71567
2017-10-12 10:11:47 -07:00
Kevin Rocard
5ccd0d182b Audio HAL: Set USECASE_AUDIO_RECORD_AFE_PROXY to 7
USECASE_AUDIO_RECORD_AFE_PROXY was not set thus taking the default value
of 8. This is not correct and will cause the offload visualizer to stall
or the phone call recording to fail.

This problem can not be observed currently because
the visualizer currently has the number hardcoded.
Nevertheless that will change in the future.

As for phone call recording, this feature is not available to normal
users.

Test: check that walleye and taimen have now the same value
Bug: 65761711
Change-Id: Iedf29696adacaf61bf3d0db99697a5013594b8ec
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-09-15 22:42:30 -07:00
taeho.youn
f16128f44d audio: acdb setting for BT NREC devices
Add acdb setting for BT devices supporting NREC in them.

Bug: 64750380
Test: manual audio test
Change-Id: Ib5e313a986ae9a237bfedd94bcaee326451611b4
2017-08-23 15:24:31 -07:00
taeho.youn
e490d1eb4b audio: Update configuration for VoIP
- VOIP mixer Tx gain
- set app type for VoIP
- set acdb_id for VoIP speaker
- set echo reference for VoIP speaker

Bug: 62826294
Test: audio sanity test
Change-Id: I8c05d666d3b4fe8719419d3dde7954e91201397b
2017-06-26 17:59:58 -07:00
Haynes Mathew George
c5222db05d audio_platform_info: Update pcm devices for MMAP usecase
Use MultiMedia3 FE

Bug: 33398120
Test: verified MMAP capture and playback with AAudio
Change-Id: I2e1873c6b173031da8afb28530745f7419734238
2017-06-21 15:20:03 -07:00
taeho.youn
dc1a7457f8 taimen: audio: configuration for TTY device
Bug: 62249703
Test: audio sanity test
Change-Id: If5221697fd06ebdea310324434d8f063275dc259
Signed-off-by: taeho.youn <taeho.youn@lge.com>
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-19 11:58:10 -07:00
TreeHugger Robot
f59d573421 Merge "audio: set BE name for speaker and usb combo device" into oc-dr1-dev 2017-06-17 04:48:24 +00:00
Jack He
2ef40488a8 Add speaker + bt-sco combo device
* Add path entry for speaker + bt-sco combo device in mixer_path_tavil.xml
* Add backend support for such path in audio_platform_info_tavil.xml
* Add audio-ull-playback paths for Bluetooth:
    audio-ull-playback bt-sco
    audio-ull-playback bt-sco-wb

Bug: 62541790
Bug: 19171297
Test: make, HFP regression, testplans/92476
Change-Id: Iafd893da6d044bc4c9679da12692d8f9eec33a79
2017-06-16 13:38:27 -07:00
David Lin
86a34d44a0 audio: set BE name for speaker and usb combo device
Bug: 35675592
Test: ringer on speaker and headset
Change-Id: I02f7235eebd6d712d2c8ef33225a412e0696c642
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-16 13:27:00 -07:00
Haynes Mathew George
beaa439942 taimen: 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-13 12:34:47 -07:00
Eric Laurent
19308816cd audio: add mixer path definition for mmap no irq mode
Bug: 33398120
Test: build taimen-eng
Change-Id: Id8c79737932d54948516a2a9178d8fdb0dc4edab
2017-06-12 18:11:35 +00:00
Haynes Mathew George
710c6a428c 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-01 19:05:18 -07:00
taeho.youn
f08e30d121 audio: taimen: device specific configurations
- device setting for HAC mode
- device id setting for USB devices (bug:38451946)

Change-Id: Ifc30f7aa696306296bcde4baa8583fd7c1621026
2017-05-26 10:59:22 -07:00
David Lin
5af1d67c61 audio: Introduce app_type section in audio_platform_info
add & populate new section to define audio app_types

Test: phone call, playback, capture with and without USB headset

Bug: 37304195
Change-Id: I39480f3dfeac9c52682aaff65eb330f98fd1c437
Signed-off-by: David Lin <dtwlin@google.com>
2017-05-16 21:14:22 +00:00
taeho.youn
7ddefe4f9b audio: change acdb_id for fluenceProv2 speakerphone
change device pair to use 3-mic

Bug: 37129980
Change-Id: I731cf58edd301cad618e6722641150bea3986c12
2017-05-09 19:45:49 -07:00
taeho.youn
de242daf76 audio: corresponding change for FluenceProv2 in audioHAL
- dmic configuration 4->3
- add voice-speaker-tmic

Bug: 37129980
Change-Id: I5f267d0a257ac6f02e1269a57c761d2974e6ec5e
Signed-off-by: taeho.youn <taeho.youn@lge.com>
2017-05-07 18:31:41 -07:00
David Lin
39b866fd0a audio: assign VOICE_HANDSET_TMUS to use VOICE_HANDSET acdb_id
This is to use the same ACDB file as non-TMUS before we split the tuning
file for TMUS.

Bug: 37964718
Change-Id: I5e2457a9a4bc2790b4cfbb78b645374afda22624
Signed-off-by: David Lin <dtwlin@google.com>
2017-05-04 03:41:44 +00:00
taeho.youn
674e8afb0a audio: Add taimen specific audio config files
will be used independently, and be updated frequently

- dmic configuration
- acoustic voice path for fluenceProv2
- audio path for factory
- camcorder mic (main mic)
- stereo configuration for tas2557
- device setting for fluenceProv2

Bug: 37453005
Bug: 36666337
Change-Id: I5d1910862757671da35dc044d4a14891fcc11e70
Signed-off-by: taeho.youn <taeho.youn@lge.com>
Signed-off-by: David Lin <dtwlin@google.com>
2017-04-30 15:04:47 -07:00
Vineeta Srivastava
2a6f73b735 Remove taimen specific audio configs
Use wahoo's common audio configs instead.

Change-Id: If2fb5d14f27e9741ee9a18b03d9b59fde05fbd53
2017-03-30 15:02:30 -07:00
David Lin
48f2cdc797 audio: specify the correct afe-proxy device id
Change-Id: I42f6fe63071795676d6b2034c1cdf6ab0c948c7b
Signed-off-by: David Lin <dtwlin@google.com>
2017-03-29 13:59:00 -07:00
Devin Kim
a9f82848de audio: Add initial audio config files
Test: boot, chrome, youtube
Change-Id: Ic8a3475d294a995935c249df7b65e447949391f1
2017-03-07 15:57:19 -08:00