Expand description
The default module provides convenience functions and registries to get an implementer
up-and-running as quickly as possible, and to reduce boiler-plate. Using the default
module is completely optional and incurs no overhead unless actually used.
Modules§
- codecs
- The
codecsmodule re-exports all enabled Symphonia decoders. - formats
- The
formatsmodule re-exports all enabled Symphonia format readers.
Functions§
- get_
codecs - Gets the default
CodecRegistry. This registry pre-registers all the codecs selected by thefeatureflags in the includer’sCargo.toml. Iffeaturesis not set, the default set of Symphonia codecs is registered. - get_
probe - Gets the default
Probe. This registry pre-registers all the formats selected by thefeatureflags in the includer’sCargo.toml. Iffeaturesis not set, the default set of Symphonia formats is registered. - register_
enabled_ codecs - Registers all the codecs selected by the
featureflags in the includer’sCargo.tomlon the providedCodecRegistry. Iffeaturesis not set, the default set of Symphonia codecs is registered. - register_
enabled_ formats - Registers all the formats selected by the
featureflags in the includer’sCargo.tomlon the providedProbe. Iffeaturesis not set, the default set of Symphonia formats is registered.