Feature Flag
Status
Great - Most media streams play. Inaudible glitches may be present. Most common features are supported.Supported Codecs
The AIFF container supports various audio codecs:- PCM (8, 16, 24, 32-bit integer) - AIFF
- IEEE Float (32, 64-bit) - AIFF
- ALAC (Apple Lossless) - AIFC
- A-law / μ-law - AIFC
- IMA ADPCM - AIFC
Gapless Playback
✅ Fully supported - AIFF files support gapless playback with sample-accurate seeking.Metadata Support
AIFF files support metadata through several mechanisms:- NAME chunk - Audio name/title
- AUTH chunk - Author/artist
- ANNO chunk - Annotations/comments
- COMT chunk - Timestamped comments
- ID3v2 tags - Modern metadata (embedded)
Usage Example
Advanced Features
AIFF vs AIFC
There are two variants of AIFF:- AIFF - Original format, primarily for uncompressed PCM audio
- AIFC (AIFF-C) - Compressed variant supporting various codecs
Seeking in AIFF Files
AIFF files support sample-accurate seeking:Marker and Loop Points
AIFF files support markers and loop points for audio editing:Extended Floating Point
AIFF uses 80-bit extended precision floating point for sample rates. Symphonia handles this conversion internally.Known Limitations
- Some proprietary or rare AIFC compression formats may not be supported
- MIDI data chunks (MIDI) are not parsed
- Application-specific chunks (APPL) are ignored
- Instrument information (INST) is not exposed
File Extensions
.aiff- Standard AIFF files.aif- Short extension.aifc- Compressed AIFF files
MIME Types
audio/aiffaudio/x-aiffsound/aiffaudio/x-pn-aiff
Byte Order
AIFF uses big-endian byte order (unlike WAV which uses little-endian). Symphonia handles this automatically.Crate Information
Crate:symphonia-format-riff
Version: 0.5.5
License: MPL-2.0
Safety: 100% safe Rust (forbids unsafe code)