Magnum::Audio::DrFlacImporter class

FLAC audio importer plugin using dr_flac.

Supports mono, stereo and surround sound files of the following formats using the dr_flac library:

This plugin depends on the Audio library and is built if WITH_DRFLACAUDIOIMPORTER is enabled when building Magnum Plugins. To use as a dynamic plugin, you need to load the "DrFlacAudioImporter" plugin from MAGNUM_PLUGINS_AUDIOIMPORTER_DIR. To use as a static plugin or as a dependency of another plugin with CMake, you need to request the DrFlacAudioImporter component of the MagnumPlugins package and link to the MagnumPlugins::DrFlacAudioImporter target. See Downloading and building plugins, Plugin usage with CMake and Loading and using plugins for more information.

This plugins provides FlacAudioImporter, but note that this plugin doesn't handle CRC checks, corrupt or perverse FLAC streams, or broadcast streams.

Base classes

class AbstractImporter
Base for audio importer plugins.

Constructors, destructors, conversion operators

DrFlacImporter() explicit
Default constructor.
DrFlacImporter(PluginManager::AbstractManager& manager, const std::string& plugin) explicit
Plugin manager constructor.