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: I6519f75daf2f65dc8f1e2a4a3827f8956f563c35
Enable gapless support on compressed_offload w/o trimming delay and padding.
Bug: 230305456
Test: test with AOSP Music and MediaMonkey
Change-Id: Ie1129a5323a2225c895cb3f1b332065bc5924075
Signed-off-by: Robert Lee <lerobert@google.com>
Compress-offload also needs to adjust the latency
to meet the av sync result.
Bug: 234104918
Test: Play AV sync video in YTMusic test apk
Change-Id: I45e4b2d2c477ae2eae14d7342e3a81c38ec61cb4
For C10_LL_Pt_Ls_mix3500M_volCurve_allModes_Speaker_Safe_ONEAL_V2.mps:
- Non media, update the speaker-safe preset for
Ringtone/Notification/Alarm stream
- sha1sum: b813efb994561b71715c075c0d34ad8c1a009ade
/vendor/etc/waves_preset.mps
For P10_LL_Pt_Ls_mix2000_volCurve_allModes_Speaker_Safe_ONEAL.mps:
- Non media, update the speaker-safe preset for
Ringtone/Notification/Alarm stream
- sha1sum: 32a42b5ad6f2c2b3b79b2a33d3f53329edf61047
/vendor/etc/waves_preset.mps
For audio_policy_volumes_C10_Update.xml:
- Revision for low volume to be compatible with the speaker-safe
preset mentioned above.
- Revision of full volume curve to be compatible with MIX3500M preset
for below stream type DTMF, System Sound, Enforced Audible.
- sha1sum: 918ebfef1da80f8caca117cc1da00f0a7eade6c1
/vendor/etc/audio_policy_volumes.xml
For audio_policy_volumes_P10_Update_V2.xml:
- Revision for low volume to be compatible with the speaker-safe
preset mentioned above
- Revision of full volume curve to be compatible with MIX2000 preset for
below stream type DTMF, System Sound, Enforced Audible
- sha1sum: 9333ef3a4359b6c5e5b29a3beb40c677f8961c5d
/vendor/etc/audio_policy_volumes.xml
Bug: 234590302
Bug: 234464916
Test: manual test
b/234464916#comment4
b/234590302#comment8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I9fcaa0ac6f50af7f0728eb5a686b9866317a49d8
AoC can support mmap on BT both playback and recording
after gpar/322484.
Bug: 232205959
Test: Play MMAP games and OboeTester
Change-Id: Id696b578f4a2e3f94d6193e714b6d9f1ace6977a
- preview of notification will be cut off slightly becuase of mute
duration in framework is 160ms (40*40)
- set mute duration of primary output from 160 ms to 40 ms.
Bug: 233176336
Test: preview notification/end call sound on voice/VoIP(Line)
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I7f5225372c265cb22e74311b0805d16b1c68fd3d
add mic gain on path "speaker-mic" from 0 to 22
Bug: 231909998
Test: mmap record
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I66de7c52c29ec3434a5cbed1799029fa5be05f71
fast_swtich1.txt => Enable FIR of top amp
fast_swtich2.txt => Enable FIR of bot amp
fast_switch3.txt => Disable FIR of top amp
fast_switch4.txt => Disable FIR of bot amp
Bug: 214487028
Test: Build pass
Change-Id: Id7c9eae52d9e59250cbc7e79705d86d0268a7a79
Signed-off-by: Robert Lee <lerobert@google.com>
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: I4a9bd45c1341100217ab32fd81f7421af00e059d
Revert submission 16996078-voip_speaker_separation-master-table-tm-dev
Reason for revert: <AoC is reverted by b/222138584>
Reverted Changes:
I85c654319:audio: voip downlink to stereo
Iac83ae74c:audio: iS900 table release of Fortemedia
Change-Id: Ib741e38913ab39af916f3dbb60bd08159c0d6cf2
FM table Changelist:
1. P10/C10 Based on iS900 : HA / HH / HE tuning setting for EVT1.1
Mixer changelist:
1. P10/C10 Change PCM Gain for Handset mode
Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I5bfd1334f949540b2c87ea5b3aaed4c47eb6fb93
Bug: 204271052
Test: voip with speaker mode
atest dual_speakers_test
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I3bb59bf5444a537230c1dc3a4f74bd68ec209f4e
This reverts commit d5d0e9f343.
Reason for revert: <AOC FW that supports Spatial audio capture has been reverted>
Change-Id: I18286694da289215193c3e39ad71ea4a50392a69
- specific top speaker control doesn't merge becuase of pop sound issue
during turning on/off a speaker.
Bug: 207431993
Test: manual test (b/207431993#comment16)
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ieca51d1f0ca238ff0d9112e8ede9d2eaad28ce98
Enable default 96k sample rate to fix the noise issue when enabling
96k speaker protection with 48k sample rate setting.
Bug: 206060532
Test: audio normal after device boot with speaker protection enabled
Change-Id: I28e58731b49b18ee14b9a1195c549e71a231d0ee
Signed-off-by: Robert Lee <lerobert@google.com>