edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB552edc4Tahinli2 months ago2048 commits
| 1 | //! Compatibility shim: the `symphonia-core` 0.6 surface edith consumes, over |
| 2 | //! [`ec_core`] and (through the `symphonia` shim) [`ec_probe`]. |
| 3 | //! |
| 4 | //! This is the vocabulary half — parameters, packets, units, the reader and |
| 5 | //! decoder traits. The registries that build them live in the `symphonia` |
| 6 | //! shim, and the AAC decoder seat in `symphonia-codec-aac`, exactly as the |
| 7 | //! incumbent splits them. |
| 8 | //! |
| 9 | //! Written from the signatures edith calls (`crates/engine/src/audio.rs` |
| 10 | //! lines 36-53 and their call sites) and the crate's published documentation. |
| 11 | //! No symphonia source was read: the incumbent is MPL-2.0 and this family is |
| 12 | //! MIT OR Apache-2.0. |
| 13 | //! |
| 14 | //! **Not the whole crate.** What edith does not call is not here: metadata |
| 15 | //! revisions, the sample-buffer zoo, `Signal`/`AudioBuffer` generics, the |
| 16 | //! `CodecRegistry` builder API. Each is a small addition when something needs |
| 17 | //! it; none is a silent omission. |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | use fmt; |
| 29 | |
| 30 | /// The incumbent's error type, in the shape callers match on. |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | /// `Result` with this crate's [`Error`]. |
| 46 | pub type Result<T> = Result; |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 |