mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-12 13:42:34 +00:00
Add aif extension
This commit is contained in:
parent
186d540d00
commit
afbdd35493
3 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ in order to parse metadata in different file formats.
|
|||
| File Format | Extensions | Read | Write | Metadata Format(s) |
|
||||
|-------------|-------------------------------------------|------|-------|----------------------|
|
||||
| Ape | `ape` |**X** |**X** | `APEv2` |
|
||||
| AIFF | `aiff` |**X** |**X** | `ID3v2` |
|
||||
| AIFF | `aiff`, `aif` |**X** |**X** | `ID3v2` |
|
||||
| FLAC | `flac` |**X** |**X** | `Vorbis Comments` |
|
||||
| MP3 | `mp3` |**X** |**X** | `ID3v2` |
|
||||
| MP4 | `mp4`, `m4a`, `m4b`, `m4p`, `m4v`, `isom` |**X** |**X** | `Vorbis Comments` |
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
//! | File Format | Extensions | Read | Write | Metadata Format(s) |
|
||||
//! |-------------|-------------------------------------------|------|-------|----------------------|
|
||||
//! | Ape | `ape` |**X** |**X** | `APEv2` |
|
||||
//! | AIFF | `aiff` |**X** |**X** | `ID3v2` |
|
||||
//! | AIFF | `aiff`, `aif` |**X** |**X** | `ID3v2` |
|
||||
//! | FLAC | `flac` |**X** |**X** | `Vorbis Comments` |
|
||||
//! | MP3 | `mp3` |**X** |**X** | `ID3v2` |
|
||||
//! | MP4 | `mp4`, `m4a`, `m4b`, `m4p`, `m4v`, `isom` |**X** |**X** | `Vorbis Comments` |
|
||||
|
|
|
@ -146,7 +146,7 @@ impl TagType {
|
|||
#[cfg(feature = "ape")]
|
||||
"ape" => Ok(Self::Ape),
|
||||
#[cfg(feature = "id3")]
|
||||
"aiff" => Ok(Self::Id3v2(ID3Underlying::Form)),
|
||||
"aiff" | "aif" => Ok(Self::Id3v2(ID3Underlying::Form)),
|
||||
#[cfg(feature = "id3")]
|
||||
"mp3" => Ok(Self::Id3v2(ID3Underlying::Default)),
|
||||
#[cfg(all(feature = "riff", feature = "id3"))]
|
||||
|
|
Loading…
Reference in a new issue