mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
5b9d6d02fa
and trigger the callback function for the buffer automatically without relying on Drop. There is no drop guarantee in rust. Moreover, the callback function is also async in the async code. We cannot block wait in the callback function. BUG=b:192912354 TEST=cargo test Cq-Depend: chromium:3007841 Change-Id: I57902cdb0e083f61349f7124602e957ffa84b3c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3062163 Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Woody Chow <woodychow@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
Audio Server and Stream interfaces
The audio_streams
crate provides a basic interface for playing audio.
This will be used to enable playback to various audio subsystems such as
Alsa and cras. To start, an empty playback example NoopStreamSource
is provided.