Added the mp3 plugin linux support
This commit is contained in:
parent
869eb18b21
commit
7cda1a3039
|
@ -0,0 +1,9 @@
|
|||
CC=g++
|
||||
CFLAGS=-Wall
|
||||
LDFLAGS=-L../../Source -lcAudio
|
||||
|
||||
OBJECT=main.o cMP3Decoder.o mpaudec/bits.c mpaudec/mpaudec.c
|
||||
LINK_OPTIONS=-shared -DCAUDIO_PLATFORM_LINUX
|
||||
|
||||
all: $(OBJECT)
|
||||
$(CC) -o cAp_MP3Decoder.so $(OBJECT) $(LINK_OPTIONS) $(LDFLAGS)
|
|
@ -1,5 +1,8 @@
|
|||
#include "../../include/cAudioDefines.h"
|
||||
#include "cMP3Plugin.h"
|
||||
#ifdef CAUDIO_PLATFORM_LINUX
|
||||
#include <cstring>
|
||||
#endif
|
||||
|
||||
//Gives back the plugin class for cAudio to install and use.
|
||||
extern "C" CAUDIO_API IAudioPlugin* GetPluginModule(const char* version)
|
||||
|
|
Loading…
Reference in New Issue