mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 01:16:50 +00:00
575d9bf02c
Add new parameters to snd device: output_device_config, input_device_config for configuring each PCM device. Add PCMDeviceParameters to describe the parameters for the PCM device. For all platforms, it supported setting stream effects. For ChromeOS with CRAS, it also supported setting different client type and stream type when connecting stream to CRAS. This CL only implement the parsing parameters from command line part and does not actually use the value yet. This CL depends on libcras StreamType implementation CL:4273509 BUG=b:269984052 TEST=cargo test --features=audio,audio_cras TEST=FEATURES=test emerge-amd64-generic crosvm Change-Id: I1d64af5edf2eb4391c439edf3ce90f5426fdf57c Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4274044 Reviewed-by: Judy Hsiao <judyhsiao@google.com> Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org> Commit-Queue: Pattara Teerapong <pteerapong@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
Stub crate for libcras
libcras is used by ChromeOS to play audio through the cras server.
In ChromeOS builds, the audio_cras
cargo feature is enabled and this crate is replaced with the
actual libcras implementation.
On other platforms, the feature flag will remain disabled and this crate is used to satisfy cargo dependencies on libcras.