commit | e48e5737f30788eaef93c24f40e385b69e895c5f | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Mon Mar 06 18:48:02 2023 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Mon Mar 06 18:51:03 2023 -0800 |
tree | 47d90dbeff16f73a7f48382281bf21d081806e8d | |
parent | 6f5153868230bf7ab94dd73accceaea42e0bc4af [diff] |
audio: Make I/O operations in default stub more realistic 1. Increase the minimum buffer size to 256 frames. This is more realistic than 16 frames: 256 frames is ~5ms @ 48 kHz. 2. Make transfer delay in the stub module dependent on the frame count for synchronous transfers. Bug: 270154517 Test: atest VtsHalAudioCoreTargetTest Test: atest android.media.audio.cts.LoudnessEnhancerTest (w/AIDL enabled) Change-Id: If968e30d145b52220f4dc3c33af48dbc163c78cd