| Lift freeq's AV media plane out of sleek 90f8b89 nandi 19d ago | 1 | # Vendored cpal |
| 2 | |
| 3 | Pinned from https://github.com/RustAudio/cpal.git at |
| 4 | `63ea9fffbd3b15af0180f0800a61a3c4fec9b88a` (reported as 0.18.0). |
| 5 | |
| 6 | ## Why |
| 7 | |
| 8 | `moq-media` (iroh-live) depends on `cpal` with `branch = "master"`, which |
| 9 | floats. Newer master commits remove `cpal::StreamError` and |
| 10 | `DeviceTrait::name()` (unified `Error` / `description()` API). That breaks |
| 11 | moq-media's `audio_backend.rs` at iroh-live rev `edd9bcc`. |
| 12 | |
| 13 | Same commit freeq locks in its workspace `Cargo.lock`. |
| 14 | |
| 15 | ## Update |
| 16 | |
| 17 | When iroh-live/moq-media is updated to the new cpal API, drop this vendor |
| 18 | and the `[patch."https://github.com/RustAudio/cpal.git"]` entries in |
| 19 | `android/Cargo.toml` and `host/Cargo.toml`. |