This is a snapshot of a work-in-progress documentation theme. If you feel lost, miss something, or want to see the original Doxygen docs instead, head over to the archived version of this documentation page.

Magnum::Audio::WavImporter class

WAV importer plugin.

Supports mono and stereo files of the following formats:

This plugin is built if WITH_WAVAUDIOIMPORTER is enabled when building Magnum. To use dynamic plugin, you need to load the "WavAudioImporter" 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 WavAudioImporter component of the Magnum package and link to the Magnum::WavAudioImporter target. See Downloading and building, Usage with CMake and Loading and using plugins for more information.

Behavior and limitations

Multi-channel formats are not supported.

Base classes

class AbstractImporter
Base for audio importer plugins.

Constructors, destructors, conversion operators

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

Private functions

auto doFeatures() const override -> Features virtual
Implementation for features()
auto doIsOpened() const override -> bool virtual
Implementation for isOpened()
void doOpenData(Containers::ArrayView<const char> data) override virtual
Implementation for openData()
void doClose() override virtual
Implementation for close()
auto doFormat() const override -> Buffer::Format virtual
Implementation for format()
auto doFrequency() const override -> UnsignedInt virtual
Implementation for frequency()
auto doData() override -> Containers::Array<char> virtual
Implementation for data()