Cargo Features
[dependencies]
symphonium = { version = "0.2.2", default-features = false, features = ["aac", "adpcm", "alac", "flac", "caf", "isomp4", "mkv", "mp1", "mp2", "mp3", "ogg", "pcm", "aiff", "vorbis", "wav", "open-standards", "mpa", "all-codecs", "all-formats", "all", "opt-simd-sse", "opt-simd-avx", "opt-simd-neon", "opt-simd", "resampler", "fft-resampler"] }
- default = fft-resampler, ogg, opt-simd, pcm, vorbis, wav
-
These default features are set whenever
symphonium
is added without
somewhere in the dependency tree.default-features = false - aac all-codecs?
-
Enable specific codecs and formats.
- adpcm all-codecs? open-standards?
- alac all-codecs?
- flac all-codecs? open-standards?
- caf all-formats?
- isomp4 all-formats?
- mkv all-formats? open-standards?
- mp1 all-codecs? mpa?
- mp2 all-codecs? mpa?
- mp3 all-codecs? mpa?
- ogg default all-formats? open-standards?
- pcm default all-codecs? open-standards?
- aiff all-formats?
- vorbis default all-codecs? open-standards?
- wav default all-formats? open-standards?
- open-standards = adpcm, flac, mkv, ogg, pcm, vorbis, wav
-
Enable all royalty-free open standard codecs and formats.
- mpa = mp1, mp2, mp3
-
Enable all MPEG audio codecs.
- all-codecs all? = aac, adpcm, alac, flac, mp1, mp2, mp3, pcm, vorbis
-
Enable all supported codecs.
- all-formats all? = aiff, caf, isomp4, mkv, ogg, wav
-
Enable all supported formats.
- all = all-codecs, all-formats
-
Enable all supported codecs and formats.
- opt-simd-sse opt-simd
-
SIMD support.
Enables opt-simd-sse of symphonia
- opt-simd-avx opt-simd
-
Enables opt-simd-avx of symphonia
- opt-simd-neon opt-simd
-
Enables opt-simd-neon of symphonia
- opt-simd default = opt-simd-avx, opt-simd-neon, opt-simd-sse
-
Enable all SIMD support. Enabled by default.
- resampler fft-resampler
-
Enable the resampler (enabled by default).
Enables rubato
Affects
symphonium::resample
… - fft-resampler default = resampler
-
This feature is enabled by default and is recommended for most applications. Disable it if the FFT resamplers are not needed to save compile time and reduce the resulting binary size.
Enables fft_resampler of optional rubato