Magnum/Audio/AbstractImporter.h file

Class Magnum::Audio::AbstractImporter, enum Magnum::Audio::ImporterFeature, enum set Magnum::Audio::ImporterFeatures.

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Audio
Audio playback.

Classes

class Magnum::Audio::AbstractImporter
Base for audio importer plugins.

Enums

enum class ImporterFeature: UnsignedByte { OpenData = 1 << 0 } new in 2020.06
Features supported by an audio importer.

Typedefs

using ImporterFeatures = Containers::EnumSet<ImporterFeature> new in 2020.06
Features supported by an audio importer.

Functions

auto operator<<(Debug& debug, ImporterFeature value) -> Debug&
Debug output operator.
auto operator<<(Debug& debug, ImporterFeatures value) -> Debug&
Debug output operator.

Defines

#define MAGNUM_AUDIO_ABSTRACTIMPORTER_PLUGIN_INTERFACE new in Git master
Audio importer plugin interface.

Define documentation

#define MAGNUM_AUDIO_ABSTRACTIMPORTER_PLUGIN_INTERFACE new in Git master

Audio importer plugin interface.

Same string as returned by AbstractImporter::pluginInterface(), meant to be used inside CORRADE_PLUGIN_REGISTER() to avoid having to update the interface string by hand every time the version gets bumped:

CORRADE_PLUGIN_REGISTER(MyAudioImporter, MyNamespace::MyAudioImporter,
    MAGNUM_AUDIO_ABSTRACTIMPORTER_PLUGIN_INTERFACE)

The interface string version gets increased on every ABI break to prevent silent crashes and memory corruption. Plugins built against the previous version will then fail to load, a subsequent rebuild will make them pick up the updated interface string.