Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Awedio ESP32 
ESP32 I2S backend for the awedio audio playback library using ESP-IDF. Requires std and ESP-IDF v5.
mp3 is supported but may not work well on ESPs without native floating point support.
Setup
The caller is responsible for setting up the I2S driver before calling start on the backend. For example:
use hal;
use config;
const SAMPLE_RATE: u32 = 44100;
const CHANNEL_COUNT: u16 = 1;
let i2s_config = new;
let peripherals = take.unwrap;
let i2s = peripherals.i2s0;
let blk = peripherals.pins.gpio44;
let dout = peripherals.pins.gpio42;
let mclk: = None;
let ws = peripherals.pins.gpio43;
let driver = new_std_tx.unwrap;
let backend = with_defaults;
let manager = backend.start
In order to get the rmp3
native dependency to compile for xtensa chips
(if the rmp3-mp3 feature is enabled) you may need to export the following
variables (adjust for your target):
export CROSS_COMPILE=xtensa-esp32s3-elf; export CFLAGS=-mlongcalls
Motivation
Built for creating activities for 10 Buttons, a screen-less tablet for kids. Purposefully kept generic to be usable in other contexts.
Features
- report-render-time: Print to stdout stats about rendering time.
License
This project is licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.