AoC can support mmap on BT both playback and recording
after gpar/322484.
Bug: 232205959
Test: OboeTester
Signed-off-by: millerliang <millerliang@google.com>
Change-Id: I53d70625acb4629954f2bd3041d9d52f4b5c61d1
Some 3rd party app may use one or three microhpne(s)
to do the camera recording.
Add these two configurations to UC_AUDIO_RECORD to sync
the audio and video of the recoreded video.
Bug: 260824124
Test: Reporter verified
Change-Id: Ide731ef55457a4aee47a1cbfd7badd2ba31704dc
Remove spatial audio configuration in speaker path
to match the rule.
Bug: 247415765
Test: spatial audio playback
Change-Id: I3df0cdf6c47ecbc633ac2ddcba026084b682b17e
extend this to prevent alsa trigger stop playback
and causing pop
Bug: 238056484
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I3f422169a8bccbeece0c97b3ba515d99f7dab2e2
To meet the av sync, we need to adjust the uc latency
for immersive playback.
Bug: 243645548
Test: Test with av sync video
Change-Id: I5980c8833e168f859b541eeab7d093c206857233
Enable gapless support on compressed_offload w/o trimming delay and padding.
Bug: 236351705
Test: test with AOSP Music and MediaMonkey
Change-Id: Ie23f10d612ee98d6926236de9174aa90e75de415
Signed-off-by: Robert Lee <lerobert@google.com>
Change to use pcm id 30 for immersive output,
which is using raw path in AoC to get lower
roundtrip latency.
Bug: 237677573
Test: spatial audio playback
Change-Id: Ibbd3e70df5f35503673c2834fda7a22cbeaae557
Update audio policy and effect configuration files to
support spatial audio feature
Bug: 237677573
Test: make
Merged-In: I4a7e2eb3c44192954b7bcf804d14097e94e90eb0
Change-Id: I4a7e2eb3c44192954b7bcf804d14097e94e90eb0
- redefine mute duration of primary output from 160ms to 40ms to avoid
cutting of preview notification.
Bug: 233176336
Test: preview notification/voice end call tone
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib696638eca99b1f58300533cca586cab209b188d
add mic gain on path "speaker-mic" from 0 to 22
Bug: 228224014
Test: audio record
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Idafad36fdfb5c5f54e2ad3c1718b814b956ac17c
Revert "DO NOT MERGE Audio configuration for spatial audio"
Bug: 223736548
Test: make
This reverts commit edfc5e86bd.
Change-Id: Ie693f24b76d00469ad71a36989e481023946c3bb
Update audio policy and effect configuration files to
support spatial audio feature
Bug: 189423448
Test: make
Change-Id: I2274fb4784eef5e28cadd9f33c38fdbbe60f6b40
If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == true
use audio_policy_configuration_a2dp_offload_disabled.xml (a2dp X LE X)
If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == false AND
(ro.bluetooth.leaudio_offload.supported == false OR persist.bluetooth.leaudio_offload.disabled == true)
use audio_policy_configuration_le_offload_disabled.xml (a2dp O LE X)
If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == false AND
ro.bluetooth.leaudio_offload.supported == true AND persist.bluetooth.leaudio_offload.disabled == false
use default audio_policy_configuration.xml (a2dp O LE O)
Note:
The above settings are based on ro.bluetooth.a2dp_offload.supported == true condition
If ro.bluetooth.a2dp_offload.supported == false, the content of the default audio_policy_configuration.xml file must be replaced by audio_policy_configuration_a2dp_offload_disabled.xml on the target
Test: manual
Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ibea329bb5b7d24b18ed3e915c9e7306729b17dfd
The change is on Headset Blackbird (USB-C earbuds) only.
The changed items are the same on R4 & O6 and the tuning
are also aligned with B3.
1. HE_BB, NB/WB/SWB/FB
- Apply the same TDDRC gain for each RX volume step
- Enable RX FFP
- Fine-tune volume curve
2. Reduce the clipping risk on RX path (SWB and FB RX)
- Fine tune EQ and TDDRC gain
3. HE_BB, WB_DT improvement
- TX_EAD_THR: 0x4500 --> 0x36B0
Bug: 213426722
Test: manual test (b/174635995#comment77)
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Iecf9bd5d6150371556680bd493ae3412a1ad5c2e
currently mfg audio tool using audio-recordC usb-headset-mic
in mixer_paths.xml, add a new path for mfg usb recording to
switching the usb mic source
modify the usb alsa control to v2 since the latest alsa control
already changed
Bug: 213027646
Test: verify pass with mfg tool usb-record
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: If3af632ed2bddcdd1329f17fc89ea82162d810ae
This reverts commit fa1f5094d1.
Reason for revert: MBDRC solution merged, revert the tuning back
Bug: 208931002
Change-Id: I431a1a9117d6c10416c0f94b33643480815e583b
(cherry picked from commit 51e7f7fb3b)
This reverts commit fa1f5094d1.
Reason for revert: MBDRC solution merged, revert the tuning back
Bug: 205934425
Change-Id: I431a1a9117d6c10416c0f94b33643480815e583b
This reverts commit 4bfaa9f2f3.
revert reason: the AoC prebuilt MBDRC seems not working after pick
prebuilt ag/16234618, the bug tracking on b/205934425, will apply
this tuning back once the MBDRC can work correctly on sc-v2-dev
Bug: 205934425
Change-Id: I24e2805675360d59d70cd2b5a9095aaf1c8a5875
Signed-off-by: vincenttew <vincenttew@google.com>
Add Audio Capture Eraser Enable to switch
Eraser for recording path.
For gain of this path, we shouldn't apply
software gain, because the input source is
from hotword pipeline.
Test: build pass
Bug: 172266161
Change-Id: Iabe372e7fe91e557ba9125af14bfb61606c09ea0
Change list:
Update recording.gatf, templete file for modifying parameters to fit
the change of dynamic range compressor(DRC)(b/200794903), the DRC has
been changed from 1 band to 3 band.
Bug: 204745396
Test: build pass
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ic0962536e50b310a159af15e7e191f130d41e969
Add Audio Capture Eraser Enable to switch
Eraser for recording path.
For gain of this path, we shouldn't apply
software gain, because the input source is
from hotword pipeline.
Test: build pass
Bug: 172266161
Change-Id: I2546e25c8ba428681fd778491cd66dca66051305
Reason:
-Change the microphone assignment from rear mic to top mic since there is a risk that the rear mic will be blocked when users put devices on the desk.
Change list:
Update recording.gatf file for changing microphone assignment in handset_mono_mic usecase
Validation:
3rd party camcorder/recorder and GCA function are good and validation was used SD1A.210817.026 (7772856)
Bug: 202467646
Test: forrest build
Change-Id: I3b0f8a7ba590925fc70f28bdd3bbb4b29938fd68