crosvm/common
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
..
assertions Add Cargo.lock files to version control again 2022-08-15 19:38:44 +00:00
audio_streams audio_streams_conformance_test: add playback test for NoopStream 2022-08-22 08:17:59 +00:00
balloon_control Add Cargo.lock files to version control again 2022-08-15 19:38:44 +00:00
cros-fuzz Add Cargo.lock files to version control again 2022-08-15 19:38:44 +00:00
cros_asyncv2 audio_streams_conformance_test: add playback test for NoopStream 2022-08-22 08:17:59 +00:00
data_model data_model: add read_from_prefix() function 2022-08-16 18:43:03 +00:00
p9 Add Cargo.lock files to version control again 2022-08-15 19:38:44 +00:00
sync Add Cargo.lock files to version control again 2022-08-15 19:38:44 +00:00
chromeos_warning.md Add version pin warning to common/ 2022-04-15 19:51:35 +00:00
README.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00

Crosvm General Purpose Libraries

The crates in this folder are general purpose libraries used by other projects in ChromeOS as well.

To make them accessible independendly of crosvm, each of these crates is excluded from the crosvm workspace.

List of libraries

  • cros-fuzz: Support crate for fuzzing rust code in ChromeOS
  • p9: Server implementation of the 9p file system protocol