mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 20:04:20 +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>
233 lines
5.7 KiB
TOML
233 lines
5.7 KiB
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
version = 3
|
|
|
|
[[package]]
|
|
name = "async-trait"
|
|
version = "0.1.56"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "96cf8829f67d2eab0b2dfa42c5d0ef737e0724e4a82b01b3e292456202b19716"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "audio_streams"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"async-trait",
|
|
"futures",
|
|
"remain",
|
|
"serde",
|
|
"thiserror",
|
|
]
|
|
|
|
[[package]]
|
|
name = "autocfg"
|
|
version = "1.1.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
|
|
|
[[package]]
|
|
name = "futures"
|
|
version = "0.3.21"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "f73fe65f54d1e12b726f517d3e2135ca3125a437b6d998caf1962961f7172d9e"
|
|
dependencies = [
|
|
"futures-channel",
|
|
"futures-core",
|
|
"futures-executor",
|
|
"futures-io",
|
|
"futures-sink",
|
|
"futures-task",
|
|
"futures-util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "futures-channel"
|
|
version = "0.3.21"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010"
|
|
dependencies = [
|
|
"futures-core",
|
|
"futures-sink",
|
|
]
|
|
|
|
[[package]]
|
|
name = "futures-core"
|
|
version = "0.3.21"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3"
|
|
|
|
[[package]]
|
|
name = "futures-executor"
|
|
version = "0.3.21"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "9420b90cfa29e327d0429f19be13e7ddb68fa1cccb09d65e5706b8c7a749b8a6"
|
|
dependencies = [
|
|
"futures-core",
|
|
"futures-task",
|
|
"futures-util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "futures-io"
|
|
version = "0.3.21"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b"
|
|
|
|
[[package]]
|
|
name = "futures-macro"
|
|
version = "0.3.21"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "33c1e13800337f4d4d7a316bf45a567dbcb6ffe087f16424852d97e97a91f512"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "futures-sink"
|
|
version = "0.3.21"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868"
|
|
|
|
[[package]]
|
|
name = "futures-task"
|
|
version = "0.3.21"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a"
|
|
|
|
[[package]]
|
|
name = "futures-util"
|
|
version = "0.3.21"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a"
|
|
dependencies = [
|
|
"futures-channel",
|
|
"futures-core",
|
|
"futures-io",
|
|
"futures-macro",
|
|
"futures-sink",
|
|
"futures-task",
|
|
"memchr",
|
|
"pin-project-lite",
|
|
"pin-utils",
|
|
"slab",
|
|
]
|
|
|
|
[[package]]
|
|
name = "memchr"
|
|
version = "2.5.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
|
|
|
[[package]]
|
|
name = "pin-project-lite"
|
|
version = "0.2.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
|
|
|
|
[[package]]
|
|
name = "pin-utils"
|
|
version = "0.1.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
|
|
[[package]]
|
|
name = "proc-macro2"
|
|
version = "1.0.42"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "c278e965f1d8cf32d6e0e96de3d3e79712178ae67986d9cf9151f51e95aac89b"
|
|
dependencies = [
|
|
"unicode-ident",
|
|
]
|
|
|
|
[[package]]
|
|
name = "quote"
|
|
version = "1.0.20"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
]
|
|
|
|
[[package]]
|
|
name = "remain"
|
|
version = "0.2.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0c35270ea384ac1762895831cc8acb96f171468e52cec82ed9186f9416209fa4"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde"
|
|
version = "1.0.144"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0f747710de3dcd43b88c9168773254e809d8ddbdf9653b84e2554ab219f17860"
|
|
dependencies = [
|
|
"serde_derive",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_derive"
|
|
version = "1.0.144"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "94ed3a816fb1d101812f83e789f888322c34e291f894f19590dc310963e87a00"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "slab"
|
|
version = "0.4.7"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef"
|
|
dependencies = [
|
|
"autocfg",
|
|
]
|
|
|
|
[[package]]
|
|
name = "syn"
|
|
version = "1.0.98"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"unicode-ident",
|
|
]
|
|
|
|
[[package]]
|
|
name = "thiserror"
|
|
version = "1.0.31"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a"
|
|
dependencies = [
|
|
"thiserror-impl",
|
|
]
|
|
|
|
[[package]]
|
|
name = "thiserror-impl"
|
|
version = "1.0.31"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "unicode-ident"
|
|
version = "1.0.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7"
|