1. Introduction
  2. 1. Audio IO in Rust
    1. 1.1. ASIO on Windows
    2. 1.2. Recording Sound with CPAL
    3. 1.3. Playing Sound with Rodio
    4. 1.4. Audio Track in Memory
  3. 2. Bridging to Async Rust
    1. 2.1. The Stream and Sink Traits
    2. 2.2. Recording as Stream
    3. 2.3. Playing as Sink
    4. 2.4. Putting It All Together
  4. References

Rust ASIO Guide

References

  • Rust Book: https://doc.rust-lang.org/book/

  • Rust Standard Library: https://doc.rust-lang.org/std/

  • Async Book: https://rust-lang.github.io/async-book/

  • CPAL: https://docs.rs/cpal/latest/cpal/

  • Rodio: https://docs.rs/rodio/latest/rodio/

  • Futures: https://docs.rs/futures/latest/futures/

  • Tokio: https://docs.rs/tokio/latest/tokio/

  • Futures Utils: https://docs.rs/futures-util/latest/futures_util/

  • Tokio Utils: https://docs.rs/tokio-util/latest/tokio_util/