diff options
author | millerliang <millerliang@google.com> | 2020-06-04 17:23:56 +0800 |
---|---|---|
committer | millerliang <millerliang@google.com> | 2020-06-04 17:46:30 +0800 |
commit | fb31748f15b018a75c8748c06e28a6f393fc31f2 (patch) | |
tree | 365b16836dfd44c173243bdaa19f5c6bfe5e5b5f /audio_platform_info_intcodec_b4dev.xml | |
parent | ddf18390a225eccc8ca48518e489af0ffe15aa2e (diff) | |
download | bonito-fb31748f15b018a75c8748c06e28a6f393fc31f2.tar.gz |
audio: add delay settings for playback and capture
AudioTrack/AudioRecord timestamps are off by 30ms
when tested with the Clarity test app
Bug: 137600762
Test: Manual test with Clarity test apk
Change-Id: I2adcce2578e0a43bb1a0e0315fbb580ce194ab10
Diffstat (limited to 'audio_platform_info_intcodec_b4dev.xml')
-rw-r--r-- | audio_platform_info_intcodec_b4dev.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/audio_platform_info_intcodec_b4dev.xml b/audio_platform_info_intcodec_b4dev.xml index 746a331d..614eeab3 100644 --- a/audio_platform_info_intcodec_b4dev.xml +++ b/audio_platform_info_intcodec_b4dev.xml @@ -48,6 +48,15 @@ <device name="SND_DEVICE_OUT_VOICE_TTY_HCO_SPEAKER" acdb_id="14"/> <device name="SND_DEVICE_IN_VOICE_TTY_VCO_SPEAKER_MIC" acdb_id="19"/> </acdb_ids> + + <audio_input_source_delay> + <audio_source_delay name="AUDIO_SOURCE_CAMCORDER" delay="20"/> + </audio_input_source_delay> + + <audio_output_usecase_delay> + <audio_usecase_delay name="USECASE_AUDIO_PLAYBACK_DEEP_BUFFER" delay="20"/> + </audio_output_usecase_delay> + <bit_width_configs> <device name="SND_DEVICE_OUT_SPEAKER" bit_width="24"/> </bit_width_configs> |