How pdeljanov/symphonia works
Main Components Structure
A. Core Layer (symphonia-core)
• This at the center as it provides fundamental functionality
• Components for:
• Audio primitives
• I/O operations
• DSP operations
• Error handling
• Format/codec interfaces
B. Format Demuxers Layer
• Format-related crates (symphonia-format-*)
• Support for:
• AIFF/WAV (RIFF)
• CAF
• ISO/MP4
• MKV/WebM
• OGG
• To the core layer
C. Codec Decoders Layer
• Codec-related crates (symphonia-codec-*)
• Include:
• AAC
• ADPCM
• ALAC
• FLAC
• MP3 (including MP1, MP2)
• Opus
• PCM
• Vorbis
• Connections to the core layer
D. Metadata Layer (symphonia-metadata)
• Support for different tag formats:
• ID3v1/v2
• ISO/MP4
• RIFF
• Vorbis comments
Relationships and Data Flow
• Data flow from format demuxers to decoders
• Metadata extraction paths
• Core service utilization by both demuxers and decoders
Component Details
For each major component, show:
• Input/output formats
• Key features
• Dependencies on other components
• Optional feature flags
Implementation Notes
• Use standardized symbols for different component types
• Version compatibility requirements
• Default vs. optional components
• Optimization paths
Integration Points
Highlight:
• External API interfaces
• Plugin/extension points
• Inter-component communication paths
• Error handling flows