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