mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
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>
15 lines
285 B
TOML
15 lines
285 B
TOML
[package]
|
|
name = "audio_streams"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
path = "src/audio_streams.rs"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.36"
|
|
remain = "0.2"
|
|
thiserror = "1.0.20"
|
|
futures = "0.3"
|
|
serde = { version = "1.0", features = ["derive"] }
|