caudio/plugins/mp3Decoder/main.cpp

14 lines
369 B
C++

#include "../../include/cAudioDefines.h"
#include "cMP3Plugin.h"
//Gives back the plugin class for cAudio to install and use.
extern "C" CAUDIO_API IAudioPlugin* GetPluginModule(const char* version)
{
//Double-check the version to make sure we can be used
if(strcmp(CAUDIO_VERSION, version) == 0)
{
return new cMP3DecoderPlugin();
}
return NULL;
}