32 Commits

Author SHA1 Message Date
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
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
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
Eric Laurent
46f5b6d753 audio mixer paths: add missing init values for mmap path
Bug: 65378324
Test: repro steps in bug
Test: CTS test AAudioTests
Change-Id: I46606b8cd90fe3a1cec50d510f049965dc5a8a32
2018-04-18 10:00:46 -07:00
Phil Burk
2c635657f9 aaudio: add MMAP mode for handset on Walleye
This fixes a bug that prevented starting an AAudio MMAP stream
running on the earphone speaker.

Bug: b/75304145
Test: adb shell write_sine_callback -m3 -d2 -pl
Change-Id: I0eeaf7c93288893fafa5a4e207623d5b5162776e
2018-03-19 14:30:04 -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
3a27ca64e6 audio: add missing path for hifi playback & record
missing path for usb headset record + voice call concurrency usecase
for example:
1. usb headset recording
2. make a voice call
3. switch to speaker mode
4. unable to find path 'hifi-record'

BUG:70194145

Change-Id: Iadde6e479d2eb7c398b60da8f02455bbfeb7332a
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-12-05 13:00:21 -08:00
vincent_tew
f57ca78563 audio: update audio table 0809
Change list :
[Mixer path]
  1. Synchronize the no mic headset Tx gain setting with speaker phone.
[Audio policy]
  1. Fine-tune VoIP headset volume steps for equal volume.

Bug: 64535381
Test: audio sanity test
Change-Id: I0bf5f936194ff02b17241622f70865412721eb1b
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-08-09 14:41:58 -07:00
carter_hsu
2f18c79d91 audio: Fix lost path for voice-call
Duplicated device path such as speaker and bt-sco was missing which
causes path switch to fail for voice call.

Bug: 64421942
Test: manual audio test for voice call
Change-Id: Idb25ed19fd9f88a82878423342de3413fb3c4644
2017-08-07 16:07:30 -07:00
TreeHugger Robot
84bf53874f Merge "audio: enable 24bit for MI2S path" into oc-dr1-dev 2017-07-11 21:08:56 +00:00
vincent_tew
d4e7ad8c62 audio: update audio table
Change list:
[mixer_paths_tavil]
  1.Change camera recording from 16bits to 24bits

Bug: 62825740
Test: camcorder record and playback
Change-Id: I57dbbe5bd888d0b156eda2f666ee512fe8a3ee32
2017-07-07 14:20:59 -07:00
vincent_tew
a166a43def audio: enable 24bit for MI2S path
this patch is for AFE to upsample to S24_LE

Test: test all audio paths
Bug: 62918461

Change-Id: Iefcaca61ebb74381c3e274ab32040e7df1fbe066
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-07-06 15:59:01 -07:00
vivek mehta
204952ffaf audio: config: decouple speaker swap from device mixer control
This removes the speaker swap mixer control from the speaker path as
it's handled in the audio HAL already.

Bug: 62337071
Test: audio rotation test
Change-Id: I15507e809a860bc4e3284f1096d509d0d3ea1541
2017-07-05 14:54:36 -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
carter_hsu
dd08c26924 audio: add audio EC path for BTSCO
This adds the mixer path required for BTSCO EC.

Bug: 63015903
Test: audio sanity test
Change-Id: Idccdca31ead4ebf6f01a5a2558b068eff2cda546
Signed-off-by: carter_hsu <carter_hsu@htc.com>
2017-07-05 14:52:35 -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
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
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
ecf9e1fafc audio: hifi profile
Add controls for hifi profile

Bug: 37304195
Change-Id: I940803a2e5d3830f26e2355adbbe7a767f7141a1
Signed-off-by: David Lin <dtwlin@google.com>
2017-05-16 21:12:12 +00: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
0367f88f58 muskie: audio: Update mixer table
Change list:
[Mixer path]
 1.add hac sidetone in mixer_paths

Bug: 37618609

Change-Id: I3193201ea0e53aace2c1b5bbf812622bed987ffd
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-04-25 10:59:49 -07:00
vivek mehta
517ac04572 muskie: audio: enable incall record support
- add mixer path to enable voice record for
  uplink
  downlink
  uplink + downlink

Change-Id: I4c7a9ac5addcda033c27db1745537ed2efb05602
2017-04-24 18:45:47 -07:00
vivek mehta
89968adb90 audio: config: add support for speaker sawp
- add mixer contol for speaker swap

Bug: 34897462

Change-Id: Icc81e24b60d8044d9babdf4c7cbec2cb81e0d8a5
2017-04-12 19:23:44 -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
vivek mehta
682e730dde audio: add usb tty support
- add usb tty mixer path to enable usb tty feature

Change-Id: Iff1da90e73491e3e40561125a1f54e290c80b71f
2017-03-23 10:55:57 -07: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