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:
bnnm 2023-01-15 17:28:16 +01:00
parent 0688de3146
commit 4429bb0fca
5 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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

View File

@ -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);

View File

@ -1,4 +1,4 @@
LIBRARY libspeex LIBRARY libspeex.dll
EXPORTS EXPORTS

Binary file not shown.