CDD: Strengthen audio warm up time requirement.
This is to improve audio latency on android devices.
Bug: 30475031
Test: N/A
Change-Id: I99e444ac1ccf57c919765aa8372579fe0bbb059d
diff --git a/5_multimedia/5_10_professional-audio.md b/5_multimedia/5_10_professional-audio.md
index cc2a85e..e9f0f0b 100644
--- a/5_multimedia/5_10_professional-audio.md
+++ b/5_multimedia/5_10_professional-audio.md
@@ -21,6 +21,8 @@
* [SR] Are STRONGLY RECOMMENDED to meet latencies and USB audio requirements
using the [AAudio native audio](https://developer.android.com/ndk/guides/audio/aaudio/aaudio.html)
API over the [MMAP path](https://source.android.com/devices/audio/aaudio).
+* [C-1-6] MUST have Cold output latency of 200 milliseconds or less.
+* [C-1-7] MUST have Cold input latency of 200 milliseconds or less.
* [SR] Are STRONGLY RECOMMENDED to provide a consistent level of CPU
performance while audio is active and CPU load is varying. This should be tested
using the Android app version of [SynthMark](https://github.com/google/synthmark)
diff --git a/5_multimedia/5_6_audio-latency.md b/5_multimedia/5_6_audio-latency.md
index a80fab1..8f04f1f 100644
--- a/5_multimedia/5_6_audio-latency.md
+++ b/5_multimedia/5_6_audio-latency.md
@@ -49,13 +49,17 @@
* [C-1-1] The output timestamp returned by
[AudioTrack.getTimestamp](https://developer.android.com/reference/android/media/AudioTrack.html#getTimestamp(android.media.AudioTimestamp))
and `AAudioStream_getTimestamp` is accurate to +/- 2 ms.
+* [C-1-2] Cold output latency of 500 milliseconds or less.
If device implementations declare `android.hardware.audio.output` they are
STRONGLY RECOMMENDED to meet or exceed the following requirements:
-* [C-SR] Cold output latency of 100 milliseconds or less
-* [C-SR] Continuous output latency of 45 milliseconds or less
-* [C-SR] Minimize the cold output jitter
+* [C-SR] Cold output latency of 100 milliseconds or less. Existing and new
+ devices that run this version of Android are VERY STRONGLY RECOMMENDED
+ to meet these requirements now. In a future platform release in 2021, we
+ will require Cold output latency of 200 ms or less as a MUST.
+* [C-SR] Continuous output latency of 45 milliseconds or less.
+* [C-SR] Minimize the cold output jitter.
* [C-SR] The output timestamp returned by
[AudioTrack.getTimestamp](https://developer.android.com/reference/android/media/AudioTrack.html#getTimestamp(android.media.AudioTimestamp))
and `AAudioStream_getTimestamp` is accurate to +/- 1 ms.
@@ -88,11 +92,15 @@
[AudioRecord.getTimestamp](https://developer.android.com/reference/android/media/AudioRecord.html#getTimestamp(android.media.AudioTimestamp,%20int))
or `AAudioStream_getTimestamp`, to +/- 2 ms.
"Error" here means the deviation from the correct value.
+* [C-3-2] Cold input latency of 500 milliseconds or less.
If device implementations include `android.hardware.microphone`, they are
STRONGLY RECOMMENDED to meet these input audio requirements:
- * [C-SR] Cold input latency of 100 milliseconds or less.
+ * [C-SR] Cold input latency of 100 milliseconds or less. Existing and new
+ devices that run this version of Android are VERY STRONGLY RECOMMENDED
+ to meet these requirements now. In a future platform release in 2021 we
+ will require Cold input latency of 200 ms or less as a MUST.
* [C-SR] Continuous input latency of 30 milliseconds or less.
* [C-SR] Continuous round-trip latency of 50 milliseconds or less.
* [C-SR] Minimize the cold input jitter.