xref: /aosp_15_r20/external/crosvm/libcras_stub/README.md (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1# Stub crate for libcras
2
3libcras is used by ChromeOS to play audio through the cras server.
4
5In ChromeOS builds, the `audio_cras` cargo feature is enabled and this crate is replaced with the
6actual [libcras] implementation.
7
8On other platforms, the feature flag will remain disabled and this crate is used to satisfy cargo
9dependencies on libcras.
10
11[libcras]: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/adhd/cras/client/libcras/
12