crosvm/tools
Judy Hsiao df71d99018 audio_streams_conformance_test: add playback test for NoopStream
The first version of audio_streams_conformance_test.
It is used to test if the implementation of
audio_streams::AsyncPlaybackBufferStream is correct.

This version only supports the playback test of NoopStream.
It prints the following information for NoopStream.
==

Playback Source: NoopStream
Channels: 2
Format: S16LE
Sample rate: 48000 frames/s
Buffer size: 240 frames
Iterations: 10

Cold start latency: 3.89µs
Records count: 10
[Step] min: 4.94 ms, max: 5.15 ms, average: 5.01 ms,
standard deviation: 0.06 ms.
[Linear Regression] rate: 47916.19 frames/s, standard error: 2.0

BUG=b:238038707
TEST=cargo run

Change-Id: Ifca7dfd35473ffd75856a27e2c6aa1555eba7576
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3805090
Tested-by: Judy Hsiao <judyhsiao@google.com>
Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org>
Commit-Queue: Chih-Yang Hsia <paulhsia@chromium.org>
Auto-Submit: Judy Hsiao <judyhsiao@google.com>
2022-08-22 08:17:59 +00:00
..
audio_streams_conformance_test audio_streams_conformance_test: add playback test for NoopStream 2022-08-22 08:17:59 +00:00
chromeos tools: Remove rebase_for_review script. 2022-08-19 08:22:45 +00:00
contrib base: replace PollToken with EventToken tree-wide 2022-06-02 22:30:38 +00:00
examples crosvm: update book and doc links to crosvm.dev 2022-07-29 22:54:01 +00:00
impl tools/run_tests: Add --cov option 2022-08-19 18:05:35 +00:00
windows add release / debug modes to build_test script for building windows 2022-04-21 17:09:29 +00:00
.vpython3 infra: Small process improvements 2022-05-27 20:59:12 +00:00
aarch64vm Add python presubmit checks 2022-04-15 19:22:53 +00:00
bindgen-all-the-things Reland "Add a VAAPI wrapper crate" 2022-07-13 06:51:27 +00:00
cargo-doc tools: cargo-doc: Exclude crash-report feature 2022-07-21 16:57:14 +00:00
cl tools/cl: Always upload to origin/main 2022-08-18 16:53:24 +00:00
clippy Add Cargo.lock check to tools/health-check 2022-08-15 19:38:44 +00:00
dev_container Update cloud storage locations to use crosvm-infra project 2022-07-29 02:17:15 +00:00
fmt tools/health-check: Revamp script to run on git delta only 2022-08-15 18:52:02 +00:00
health-check health-check: Add check for newline at ends of files 2022-08-18 00:17:04 +00:00
install-aarch64-deps tools: install-deps: add ffmpeg libraries as dependencies 2022-06-07 11:44:20 +00:00
install-armhf-deps tools: install-deps: add ffmpeg libraries as dependencies 2022-06-07 11:44:20 +00:00
install-deps tools/run_tests: Add lcov generation 2022-08-02 23:35:20 +00:00
install-docs-deps tools: enable search feature for mdbook 2022-07-29 21:16:21 +00:00
presubmit tools/run_tests: Use triples for arch 2022-07-01 19:16:59 +00:00
run_tests Add python presubmit checks 2022-04-15 19:22:53 +00:00
test_target Add python presubmit checks 2022-04-15 19:22:53 +00:00
x86vm Add python presubmit checks 2022-04-15 19:22:53 +00:00