b096f1536b
The MP3Decoder plugin has been updated for the above changes. Removed the shim that used to exist between dll plugins and the manager.
14 lines
355 B
C++
14 lines
355 B
C++
#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;
|
|
}
|