speex: include speexdsp_types.h instead of speex_config_types.h

speex_config_types.h is not present if only speexdsp is installed

Change-Id: I08798648ffbbfa1e84138b21b12e32c75b47e45f
This commit is contained in:
Adrien Beraud
2024-06-04 11:17:26 -04:00
committed by Adrien Béraud
parent b0e223ff3c
commit f985f8641b

View File

@ -21,8 +21,12 @@
#include "audio/audiolayer.h"
#ifndef _MSC_VER
#if __has_include(<speex/speexdsp_config_types.h>)
#include <speex/speexdsp_config_types.h>
#else
#include <speex/speex_config_types.h>
#endif
#endif
extern "C" {
#include <speex/speex_echo.h>
#include <speex/speex_preprocess.h>