devela::_dep::symphonia::default

Function get_codecs

pub fn get_codecs() -> &'static CodecRegistry
Available on crate feature dep_symphonia only.
Expand description

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.

This function is lazy and does not instantiate the CodecRegistry until the first call to this function.