Commit Graph

29 Commits

Author SHA1 Message Date
Jasmine Cha
4f41ca6fb4 audio: update microphone information
Update "microphone_characteristics" and "input_snd_device_mic_mapping"

Bug: 155053215
Test: manual regression test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I07f0d7025a269a5164b9795c2ce788a18224d012
2020-06-10 11:02:21 +00:00
BubbleFang
145f9254ba audio: Add support for incall-music-uplink2 usecase
Test: Local test
Change-Id: I9e87cb6e36f0d3902a56f35a6e23b12d59334eb0
Signed-off-by: BubbleFang <bubblefang@google.com>
2019-06-10 20:51:03 +08:00
juyuchen
54c6e1f977 audio: the table for in-call music. am: bc4ca56e64
am: f1786add4c

Change-Id: I43dcd1621cdb4140a3447471a0198456b8738a86
2018-08-08 15:25:42 -07:00
juyuchen
bc4ca56e64 audio: the table for in-call music.
Bug: 111107345
Test: manual audio test.

Change-Id: I84412f92fabd975e9c82033fd6f3d1a02bc4147d
Signed-off-by: juyuchen <juyuchen@google.com>
2018-08-08 11:44:33 +08:00
jiabin
71aed7699b Remove valid mask of microphone characteristics.
Bug: 79272216
Test: run cts
Change-Id: I58d948eab5eb830f81bdacbb63bb48defcecbf79
2018-05-25 15:33:42 -07:00
juyuchen
6bca10df1e audio: update table : add bt-sco and speaker-safe path
Bug: 78257659
Test: manual audio test on S2

Signed-off-by: juyuchen <juyuchen@google.com>
2018-05-22 09:38:22 +00:00
jiabin
037847c955 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: I85a3a76cf14c78100a1b1e82add603c1a9781617
2018-05-10 10:26:18 -07:00
jiabin
415d8ad6e9 Add actual data for microphone characteristics.
Bug: 75041465
Test: run cts
Change-Id: I427064114b40257ca46f0bcd933da6ea32772a78
2018-05-03 14:03:30 -07:00
jiabin
94f9e510b1 Fake microphones information in xml.
Bug: 64038649
Bug: 75041465
Test: Manual Testing and Cts test
Change-Id: I1b91ac0992e6d3ec5b5c573d849a203311d9f039
2018-03-22 16:53:59 -07:00
Nadav Bar
6d56be2343 Add incall music to walleye mixer paths
This change adds the paths for walleye 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: Ic7f3306ba9068daf4f455a627fddb273b04a73ea
2018-01-22 13:41:44 +02:00
vincent_tew
8a85777f31 muskie: update audio volume & volume listener table
change list:
[audio platform]
 Modify the setting of level mapping(QCT’s proposal) for TTS issue.
[audio policy]
 tune volume curve to approach linearity in playback paths.

Bug:64774822
Test: manual audio test
Change-Id: Icf4f6d180013a18a551ba4ee12a35145ca55acb7
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-09-05 10:55:04 -07:00
vincent_tew
03fe74f524 audio: update audio table
Change list:
[audio_policy_volumes]
   Fine-tune volume step in music mode to meet speaker tuning.
[audio_platform_info_tavil]
   Fine-tune volume listener.
[mixer_paths_tavil]
   Add acoustic shock function for user safety.

Bug: 62825740
Test: audio sanity test
Change-Id: I2457289fcf55c66b9192df565f2580e3ce26b969
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-07-05 14:53:45 -07:00
Haynes Mathew George
d14724f649 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:44 -07:00
vincent_tew
6c1eec7d3d audio: update audio volume table
This patch Updates the volume_listener coverage to fix the low volume
index (volume key 1~10) can’t be mapped to volume listener index.  In
current setting, only stream volume larger than -8.6db will be applied
with volume listener tuning. This patch also updates Android volume
curve of SWB and VoIP.

Bug: 62825740
Test: audio playback
Change-Id: Ic76b7240db09983e5eb56441a0da4ea021cb3655
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-20 10:44:48 -07:00
TreeHugger Robot
643f3b53bc Merge "muskie: set BE name for speaker and usb combo device" into oc-dr1-dev 2017-06-17 04:48:24 +00:00
Jack He
73b84c1462 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

Bug: 62541790
Bug: 19171297
Test: make, HFP regression, testplans/92112
Change-Id: I32d2fab100e50fa9a196e7dfdeda64cd5ff0061e
2017-06-16 13:37:33 -07:00
carter_hsu
056d190f82 muskie: set BE name for speaker and usb combo device
Bug: 35675592
Test: ringer on speaker and headset
Change-Id: I0be70c2a81e40578d469082ea5bbc6d1858e436a
Signed-off-by: carter_hsu <carter_hsu@htc.com>
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-16 13:25:57 -07:00
Haynes Mathew George
3183354f35 muskie: 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:47:09 -07:00
Eric Laurent
a553de5537 audio: add mixer path definition for mmap no irq mode
Bug: 33398120
Test: build walleye-eng
Change-Id: Ic28748bf475b83573ac22b74965618d9c169aeda
2017-06-12 18:39:50 +00:00
Haynes Mathew George
f49f22c424 audio: Add controls 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:06:52 -07:00
David Lin
08d6978893 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: I7708758eb3f80e225e9645e3d58c0dc4749e4b8b
Signed-off-by: David Lin <dtwlin@google.com>
2017-05-16 14:13:45 -07:00
vincent_tew
0eeab75901 muskie: update audio table
[audio policy]
 i. Fine tune music, alarm, notification and ringtone volume setting for volume listener.
 ii. Fine tune VoIP volume steps in three modes.
[audio platform]
 i. Add gain mapping for volume listener.
 ii. Add USB VoIP SND-device.
[mixer_paths]
 i. Modify audio EC route for VoIP HA&HE

Change-Id: I0c7a505c7b5a6e052a674add5ed610ea87b87014
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-05-15 14:40:41 -07:00
vincent_tew
6ff73a38b9 muskie: audio: Update audio table
1. [Mixer path]
 i. Recording Dec gain adjustment
 ii. Camera record change to one channel only
 iii. Add TTY path
 iv. Add ull bt-sco path
2. [Audio_platform_info]
 i. Add TTYpath

Change-Id: Iee8626170fbe8d337633494039cf108bb6d7b771
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-03-29 18:22:15 -07:00
David Lin
3b1ab4a966 audio: specify the correct afe-proxy device id
Change-Id: Ie61dd370a0cd08674b0e9a8be89a42061cd6c684
Signed-off-by: David Lin <dtwlin@google.com>
2017-03-29 20:56:18 +00:00
vincent_tew
f962a79d64 muskie: audio: Update audio table
1.Add usb routing in mixer_paths/audio_platform_info/ ACDB
 -Adding USB headset and USB headphones scenario
 -Correct voicecall headphone TX routing path to slimbus
2.Add TAS2557 EC ref routing in mixer_paths

Change-Id: I055571cf4502b68bf7938a099a724a746a0e955c
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-03-10 19:34:50 -08:00
jasmine cha
ab5322f6ad audio: Update audio tables and set fluence config
[mixer_paths]
1.modify camcorder for WNR function

[audio_platform_info]
1.modify device name ID for used scenario

Change-Id: I0415196d420962c8f509f6216126665aa12ad992
Signed-off-by: jasmine cha <jasmine_cha@htc.com>
2017-03-07 16:25:23 -08:00
Thierry Strudel
14876b88f0 Migrate common files to device/google/wahoo
Test: boot, basic functionality
Change-Id: I9edff53d7be158a60914335e755ded652d247db8
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-05 13:18:44 -08:00
David Lin
6616d417ce audio: enable usb audio tunnel support
Bug: 33030406
Test: audio playback and record over usb-headset

Change-Id: Id44b212d6edcc7c7d876b55677731b7cb0644f9a
Signed-off-by: David Lin <dtwlin@google.com>
2017-03-01 19:46:51 -08:00
jasmine cha
6a7e523028 muskie: update audio tables for new codec
audio_platform_info_tavil.xml / mixer_paths_tavil.xml
basic playback/record/voice call are ready.

Bug:34398147

Change-Id: I4fa06db8e31b6e41f19620d3c20d63f08763461f
Signed-off-by: jasmine cha <jasmine_cha@htc.com>
2017-01-27 14:35:35 +00:00