mirror of
https://github.com/xiph/opus.git
synced 2025-06-04 01:27:42 +00:00
Fix the MSVC build.
Updates the project files to include the new encoder source files. Use OPUS_RESTRICT and include config.h to set the proper defines for build under MSVC.
This commit is contained in:
parent
027ec51bfe
commit
3b60e81d79
4 changed files with 27 additions and 4 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue