Module symphonia::default

source ·
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§

  • The codecs module re-exports all enabled Symphonia decoders.
  • The formats module re-exports all enabled Symphonia format readers.

Functions§

  • Gets the default CodecRegistry. This registry pre-registers all the codecs selected by the feature flags in the includer’s Cargo.toml. If features is not set, the default set of Symphonia codecs is registered.
  • Gets the default Probe. This registry pre-registers all the formats selected by the feature flags in the includer’s Cargo.toml. If features is not set, the default set of Symphonia formats is registered.
  • Registers all the codecs selected by the feature flags in the includer’s Cargo.toml on the provided CodecRegistry. If features is not set, the default set of Symphonia codecs is registered.
  • Registers all the formats selected by the feature flags in the includer’s Cargo.toml on the provided Probe. If features is not set, the default set of Symphonia formats is registered.