Cargo Features

[dependencies]
rodio = { version = "0.20.1", default-features = false, features = ["tracing", "experimental", "flac", "vorbis", "wav", "mp3", "minimp3", "noise", "wasm-bindgen", "cpal-shared-stdcxx", "symphonia-aac", "symphonia-all", "symphonia-flac", "symphonia-isomp4", "symphonia-mp3", "symphonia-vorbis", "symphonia-wav", "symphonia-alac", "symphonia-aiff", "crossbeam-channel"] }
default = flac, mp3, vorbis, wav

These default features are set whenever rodio is added without default-features = false somewhere in the dependency tree.

tracing

Enables tracing

experimental

Enables atomic_float

Affects agc::AutomaticGainControl

flac default = claxon
vorbis default = lewton
wav default = hound
mp3 default = symphonia-mp3
minimp3

Enables minimp3_fixed

noise = rand
wasm-bindgen

Enables wasm-bindgen of cpal

cpal-shared-stdcxx

Enables oboe-shared-stdcxx of cpal

cpal:

Only available on Android. See README for what it does.

symphonia-aac symphonia-all?

Enables aac of symphonia

symphonia:

Enable specific codecs and formats.
TODO: Use "dep:" after MSRV is raised to >= 1.60.

symphonia-all = symphonia-aac, symphonia-flac, symphonia-isomp4, symphonia-mp3, symphonia-vorbis, symphonia-wav
symphonia-flac symphonia-all?

Enables flac of symphonia

symphonia-isomp4 symphonia-all?

Enables isomp4 of symphonia

symphonia-mp3 mp3 symphonia-all?

Enables mp3 of symphonia

symphonia-vorbis symphonia-all?

Enables vorbis of symphonia

symphonia-wav symphonia-all?

Enables adpcm, pcm and wav of symphonia

symphonia-alac

Enables alac and isomp4 of symphonia

symphonia-aiff

Enables aiff and pcm of symphonia

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

claxon flac
hound wav
lewton vorbis
symphonia symphonia-aac? symphonia-aiff? symphonia-alac? symphonia-flac? symphonia-isomp4? symphonia-mp3? symphonia-vorbis? symphonia-wav?

Affects decoder::symphonia

crossbeam-channel implicit feature

Enables crossbeam-channel

crossbeam-channel:

Multi-producer multi-consumer channels for message passing

rand noise?