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 default-features = false somewhere in the dependency tree.

aac all-codecs?

Enable specific codecs and formats.

Enables aac of symphonia

adpcm all-codecs? open-standards?

Enables adpcm of symphonia

alac all-codecs?

Enables alac of symphonia

flac all-codecs? open-standards?

Enables flac of symphonia

caf all-formats?

Enables caf of symphonia

isomp4 all-formats?

Enables isomp4 of symphonia

mkv all-formats? open-standards?

Enables mkv of symphonia

mp1 all-codecs? mpa?

Enables mp1 of symphonia

mp2 all-codecs? mpa?

Enables mp2 of symphonia

mp3 all-codecs? mpa?

Enables mp3 of symphonia

ogg default all-formats? open-standards?

Enables ogg of symphonia

pcm default all-codecs? open-standards?

Enables pcm of symphonia

aiff all-formats?

Enables aiff of symphonia

vorbis default all-codecs? open-standards?

Enables vorbis of symphonia

wav default all-formats? open-standards?

Enables wav of symphonia

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