diff --git a/src/analysis.c b/src/analysis.c index 48832d5f..b3be892a 100644 --- a/src/analysis.c +++ b/src/analysis.c @@ -142,9 +142,9 @@ void tonality_analysis(TonalityAnalysisState *tonal, AnalysisInfo *info, CELTEnc const kiss_fft_state *kfft; kiss_fft_cpx in[480], out[480]; int N = 480, N2=240; - float * restrict A = tonal->angle; - float * restrict dA = tonal->d_angle; - float * restrict d2A = tonal->d2_angle; + float * OPUS_RESTRICT A = tonal->angle; + float * OPUS_RESTRICT dA = tonal->d_angle; + float * OPUS_RESTRICT d2A = tonal->d2_angle; float tonality[240]; float noisiness[240]; float band_tonality[NB_TBANDS]; diff --git a/src/mlp.c b/src/mlp.c index f5f34812..32380fd6 100644 --- a/src/mlp.c +++ b/src/mlp.c @@ -25,6 +25,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include "mlp.h" diff --git a/src/opus.vcxproj b/src/opus.vcxproj index a04d4c60..47074084 100644 --- a/src/opus.vcxproj +++ b/src/opus.vcxproj @@ -191,6 +191,9 @@ + + + @@ -210,9 +213,11 @@ + + - \ No newline at end of file + diff --git a/src/opus.vcxproj.filters b/src/opus.vcxproj.filters index 1d1cd84f..93d7a095 100644 --- a/src/opus.vcxproj.filters +++ b/src/opus.vcxproj.filters @@ -30,6 +30,15 @@ Source Files + + Source Files + + + Source Files + + + Source Files + @@ -71,5 +80,11 @@ Header Files + + Header Files + + + Header Files + \ No newline at end of file