codecs: update libmikmod to latest 3.3.2 release

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@871 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2013-10-07 09:00:51 +00:00
parent a99f95af94
commit db2ccc608e
11 changed files with 726 additions and 710 deletions

View file

@ -20,8 +20,6 @@
/*==============================================================================
$Id$
MikMod sound library include file
==============================================================================*/
@ -53,9 +51,13 @@ extern "C" {
# else
# define MIKMODAPI __declspec(dllimport) /* using libmikmod dll for windows */
# endif
/* FIXME: USE VISIBILITY ATTRIBUTES HERE */
#elif defined(MIKMOD_BUILD)
#define MIKMODAPI
/* SYM_VISIBILITY should be defined if both the compiler
* and the target support the visibility attributes. the
* configury does that automatically. for the standalone
* makefiles, etc, the developer should add the required
* flags, i.e.: -DSYM_VISIBILITY -fvisibility=hidden */
#elif defined(MIKMOD_BUILD) && defined(SYM_VISIBILITY)
# define MIKMODAPI __attribute__((visibility("default")))
#else
# define MIKMODAPI
#endif
@ -284,8 +286,9 @@ MIKMODAPI extern void MikMod_Lock(void);
MIKMODAPI extern void MikMod_Unlock(void);
MIKMODAPI extern void* MikMod_malloc(size_t);
MIKMODAPI extern void* MikMod_realloc(void *, size_t);
MIKMODAPI extern void* MikMod_calloc(size_t,size_t);
MIKMODAPI extern void* MikMod_realloc(void*,size_t);
MIKMODAPI extern CHAR* MikMod_strdup(const CHAR*);
MIKMODAPI extern void MikMod_free(void*);
/*
@ -512,8 +515,10 @@ typedef struct MODULE {
UWORD numpat; /* number of patterns in this song */
UWORD numins; /* number of instruments */
UWORD numsmp; /* number of samples */
struct INSTRUMENT* instruments; /* all instruments */
struct SAMPLE* samples; /* all samples */
UBYTE realchn; /* real number of channels used */
UBYTE totalchn; /* total number of channels used (incl NNAs) */
@ -680,7 +685,9 @@ enum {
#define DMODE_SIMDMIXER 0x0800 /* enable SIMD mixing */
#define DMODE_NOISEREDUCTION 0x1000 /* Low pass filtering */
struct SAMPLOAD;
typedef struct MDRIVER {
struct MDRIVER* next;
const CHAR* Name;

View file

@ -1,3 +1,4 @@
libmikmod-3.3.2 / 2013-09.17. only the "nosound" driver (drv_nos)
is included, all of the other libmikmod drivers were made "MISSING"
drivers. we only need/register/use drv_nos here, and nothing else.
libmikmod-3.3.2
only the "nosound" driver (drv_nos) is included, all of
the other libmikmod drivers were made "MISSING" drivers.
we only need/register/use drv_nos here and nothing else.

Binary file not shown.

View file

@ -20,8 +20,6 @@
/*==============================================================================
$Id$
MikMod sound library include file
==============================================================================*/
@ -53,9 +51,13 @@ extern "C" {
# else
# define MIKMODAPI __declspec(dllimport) /* using libmikmod dll for windows */
# endif
/* FIXME: USE VISIBILITY ATTRIBUTES HERE */
#elif defined(MIKMOD_BUILD)
#define MIKMODAPI
/* SYM_VISIBILITY should be defined if both the compiler
* and the target support the visibility attributes. the
* configury does that automatically. for the standalone
* makefiles, etc, the developer should add the required
* flags, i.e.: -DSYM_VISIBILITY -fvisibility=hidden */
#elif defined(MIKMOD_BUILD) && defined(SYM_VISIBILITY)
# define MIKMODAPI __attribute__((visibility("default")))
#else
# define MIKMODAPI
#endif
@ -284,8 +286,9 @@ MIKMODAPI extern void MikMod_Lock(void);
MIKMODAPI extern void MikMod_Unlock(void);
MIKMODAPI extern void* MikMod_malloc(size_t);
MIKMODAPI extern void* MikMod_realloc(void *, size_t);
MIKMODAPI extern void* MikMod_calloc(size_t,size_t);
MIKMODAPI extern void* MikMod_realloc(void*,size_t);
MIKMODAPI extern CHAR* MikMod_strdup(const CHAR*);
MIKMODAPI extern void MikMod_free(void*);
/*
@ -512,8 +515,10 @@ typedef struct MODULE {
UWORD numpat; /* number of patterns in this song */
UWORD numins; /* number of instruments */
UWORD numsmp; /* number of samples */
struct INSTRUMENT* instruments; /* all instruments */
struct SAMPLE* samples; /* all samples */
UBYTE realchn; /* real number of channels used */
UBYTE totalchn; /* total number of channels used (incl NNAs) */
@ -680,7 +685,9 @@ enum {
#define DMODE_SIMDMIXER 0x0800 /* enable SIMD mixing */
#define DMODE_NOISEREDUCTION 0x1000 /* Low pass filtering */
struct SAMPLOAD;
typedef struct MDRIVER {
struct MDRIVER* next;
const CHAR* Name;

View file

@ -1,3 +1,4 @@
libmikmod-3.3.2 / 2013-09.17. only the "nosound" driver (drv_nos)
is included, all of the other libmikmod drivers were made "MISSING"
drivers. we only need/register/use drv_nos here, and nothing else.
libmikmod-3.3.2
only the "nosound" driver (drv_nos) is included, all of
the other libmikmod drivers were made "MISSING" drivers.
we only need/register/use drv_nos here and nothing else.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.