19#include "aeongames/Sound.hpp"
38 "Implements Ogg Vorbis sound support.",
Defines the plugin module interface for dynamically loaded plugins.
DLL bool RegisterSoundDecoder(const std::string &aMagick, const std::function< bool(Sound &, size_t, const void *) > &aDecoder)
Register a sound decoder for the given magic identifier.
bool DecodeOGG(Sound &aSound, size_t aBufferSize, const void *aBuffer)
Decodes OGG Vorbis audio data from a memory buffer into a Sound.
DLL bool UnregisterSoundDecoder(const std::string &aMagick)
Unregister a previously registered sound decoder.
Interface that every loadable plugin module must expose.