Expand description
rusty_esp_audio-esp — chip backends and the Track A transport for
rusty_esp_audio.
This is the wrap crate of the package: where the silicon must be
touched, it calls the esp-rs HAL (Track B, esp-hal) or ESP-IDF (Track A,
esp-idf) and exposes the core crate’s traits over it. Nothing product- or
codec-specific lives here; that is the core’s job.
With std alone it also carries the transport a Track A device and its
hub share: [net] (raw PCM over UDP, the datagrams ffplay and rff
read directly) and [wavfile] (WAV files over std::fs). That code is
the same on the laptop, the Pi and the chip, which is why its oracle tests
run on the host.
unsafe is denied crate-wide; a backend that must use it at a DMA or FFI
boundary opts in per block with #[allow(unsafe_code)] and a // SAFETY:
comment stating the invariant.
Re-exports§
pub use rusty_esp_audio_core as core;
Enums§
- Track
- Which track this build of the backend crate was compiled for.
Constants§
- TRACK
- The track this crate was built with.