tree: 0840da99ba11311cee62264101fc2b16fd549bdd [path history] [tgz]
  1. src/
  2. BUILD.gn
  3. README.md
src/media/audio/lib/rust/README.md

fuchsia-audio

fuchsia-audio is a library for interacting with Fuchsia audio devices.

Building

This project should be automatically included in builds.

Using

fuchsia-audio can be used by depending on the //src/media/audio/lib/rust GN target and then using the fuchsia_audio crate in a Rust project.

fuchsia-audio is not available in the SDK.

Testing

Unit tests for fuchsia-audio are available in the fuchsia-audio-tests package:

$ fx test fuchsia-audio-tests

You'll need to include //src/media/audio/lib/rust:tests in your build, either by using fx args to put it under universe_package_labels, or by fx set [....] --with //src/media/audio/lib/rust:tests.