edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiBa5441e8Tahinli3 months ago1014 commits
| 1 | //! Compatibility shim: the `symphonia-codec-aac` 0.6 surface edith consumes, |
| 2 | //! served by [`ec_aac`]. |
| 3 | //! |
| 4 | //! One difference from the incumbent, and it is the reason this exists: |
| 5 | //! **multichannel decodes**. The incumbent refuses anything wider than stereo |
| 6 | //! outright (`aac/mod.rs:93`, "aac: aac too complex"), which is exactly the 5.1 |
| 7 | //! and 7.1 tracks of a film — edith routes those to a second AAC crate to get |
| 8 | //! around it. [`ec_aac`] decodes mono through 7.1 in film channel order, so |
| 9 | //! there is nothing to route around. |
| 10 | //! |
| 11 | //! Written from the signatures edith calls (`AacDecoder::try_new`, then the |
| 12 | //! `AudioDecoder` trait) and the crate's published documentation; no symphonia |
| 13 | //! source was read. |
| 14 | |
| 15 | |
| 16 | |
| 17 | use |
| 18 | |
| 19 | |
| 20 | ; |
| 21 | use Packet; |
| 22 | use ; |
| 23 | |
| 24 | /// An AAC-LC decoder for one track. |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 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 | |
| 78 | |
| 79 | |
| 80 | |
| 81 |