mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-13 18:20:50 +01:00
update libspeex
- compiled with mingw-w64 GCC 12.2 - version 1.2.1 - properly stripped and exports external API only
This commit is contained in:
parent
0688de3146
commit
4429bb0fca
@ -10,7 +10,7 @@ if(NOT WIN32 AND USE_SPEEX)
|
|||||||
FetchDependency(SPEEX
|
FetchDependency(SPEEX
|
||||||
DIR speex
|
DIR speex
|
||||||
GIT_REPOSITORY https://gitlab.xiph.org/xiph/speex
|
GIT_REPOSITORY https://gitlab.xiph.org/xiph/speex
|
||||||
GIT_TAG Speex-1.2.0
|
GIT_TAG Speex-1.2.1
|
||||||
)
|
)
|
||||||
|
|
||||||
if(SPEEX_PATH)
|
if(SPEEX_PATH)
|
||||||
|
@ -412,7 +412,7 @@ extern const SpeexMode * const speex_mode_list[SPEEX_NB_MODES];
|
|||||||
/** Obtain one of the modes available */
|
/** Obtain one of the modes available */
|
||||||
const SpeexMode * speex_lib_get_mode (int mode);
|
const SpeexMode * speex_lib_get_mode (int mode);
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef _WIN32
|
||||||
/* We actually override the function in the narrowband case so that we can avoid linking in the wideband stuff */
|
/* We actually override the function in the narrowband case so that we can avoid linking in the wideband stuff */
|
||||||
#define speex_lib_get_mode(mode) ((mode)==SPEEX_MODEID_NB ? &speex_nb_mode : speex_lib_get_mode (mode))
|
#define speex_lib_get_mode(mode) ((mode)==SPEEX_MODEID_NB ? &speex_nb_mode : speex_lib_get_mode (mode))
|
||||||
#endif
|
#endif
|
||||||
|
@ -61,7 +61,7 @@ typedef struct SpeexStereoState {
|
|||||||
#define SPEEX_STEREO_STATE_INIT {1,.5,1,1,0,0}
|
#define SPEEX_STEREO_STATE_INIT {1,.5,1,1,0,0}
|
||||||
|
|
||||||
/** Initialise/create a stereo stereo state */
|
/** Initialise/create a stereo stereo state */
|
||||||
SpeexStereoState *speex_stereo_state_init();
|
SpeexStereoState *speex_stereo_state_init(void);
|
||||||
|
|
||||||
/** Reset/re-initialise an already allocated stereo state */
|
/** Reset/re-initialise an already allocated stereo state */
|
||||||
void speex_stereo_state_reset(SpeexStereoState *stereo);
|
void speex_stereo_state_reset(SpeexStereoState *stereo);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
LIBRARY libspeex
|
LIBRARY libspeex.dll
|
||||||
EXPORTS
|
EXPORTS
|
||||||
|
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user