
// The following ifdef block is the standard way of creating macros which make exporting 
// from a DLL simpler. All files within this DLL are compiled with the MP3LIBCE_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see 
// MP3LIBCE_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
#ifdef MP3LIBCE_EXPORTS
#define MP3LIBCE_API __declspec(dllexport)
#else
#define MP3LIBCE_API __declspec(dllimport)
#endif

// This class is exported from the MP3LibCE.dll
class MP3LIBCE_API CMP3LibCE {
public:
	CMP3LibCE(void);
	// TODO: add your methods here.
};

MP3LIBCE_API void Init(int,char*);
MP3LIBCE_API void Exit(void);

MP3LIBCE_API int DecompressMp3(char * inbuff, int insize, char *outmemory, int outmemsize, int *done, int* inputpos);
MP3LIBCE_API int GetHeaderInfo(unsigned char * inbuff, int insize, int* Freq, int* ch, int* br);
