-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
Description
Issue description
......
rror ../deps/opus/silk/fixed/encode_frame_FIX.c:206:21: note: in expansion of macro ‘silk_NSQ’
npm error 206 | silk_NSQ( &psEnc->sCmn, &psEnc->sCmn.sNSQ, &psEnc->sCmn.indices, x_frame, psEnc->sCmn.pulses,
npm error | ^~~~~~~~
npm error ../deps/opus/silk/main.h:270:18: note: referencing argument 13 of type ‘const int[4]’
npm error 270 | ((void)(arch),silk_NSQ_c(psEncC, NSQ, psIndices, x16, pulses, PredCoef_Q12, LTPCoef_Q14, AR_Q13, \
npm error | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error 271 | HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14))
npm error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../deps/opus/silk/fixed/encode_frame_FIX.c:206:21: note: in expansion of macro ‘silk_NSQ’
npm error 206 | silk_NSQ( &psEnc->sCmn, &psEnc->sCmn.sNSQ, &psEnc->sCmn.indices, x_frame, psEnc->sCmn.pulses,
npm error | ^~~~~~~~
npm error ../deps/opus/silk/main.h:249:6: note: in a call to function ‘silk_NSQ_c’
npm error 249 | void silk_NSQ_c(
npm error | ^~~~~~~~~~
npm error ../deps/opus/silk/decode_indices.c: In function ‘silk_decode_indices’:
npm error ../deps/opus/silk/decode_indices.c:74:42: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
npm error 74 | psDec->indices.GainsIndices[ i ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 );
npm error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error In file included from ../deps/opus/silk/main.h:33,
npm error from ../deps/opus/silk/decode_indices.c:32:
npm error ../deps/opus/silk/structs.h:119:34: note: at offset 4 into destination object ‘GainsIndices’ of size 4
npm error 119 | opus_int8 GainsIndices[ MAX_NB_SUBFR ];
npm error | ^~~~~~~~~~~~
npm error ../deps/opus/silk/decode_indices.c:133:42: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
npm error 133 | psDec->indices.LTPIndex[ k ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_LTP_gain_iCDF_ptrs[ psDec->indices.PERIndex ], 8 );
npm error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../deps/opus/silk/structs.h:120:34: note: at offset 4 into destination object ‘LTPIndex’ of size 4
npm error 120 | opus_int8 LTPIndex[ MAX_NB_SUBFR ];
npm error | ^~~~~~~~
npm error ../deps/opus/celt/arm/celt_neon_intr.c: In function ‘celt_pitch_xcorr_float_neon’:
npm error ../deps/opus/celt/arm/celt_neon_intr.c:208:18: error: implicit declaration of function ‘celt_inner_prod_neon’; did you mean ‘celt_inner_prod_c’? [-Wimplicit-function-declaration]
npm error 208 | xcorr[i] = celt_inner_prod_neon(_x, _y+i, len);
npm error | ^~~~~~~~~~~~~~~~~~~~
npm error | celt_inner_prod_c
npm error ../deps/opus/celt/arm/celt_neon_intr.c:208:18: warning: nested extern declaration of ‘celt_inner_prod_neon’ [-Wnested-externs]
npm error make: *** [deps/libopus.target.mk:310: Release/obj.target/libopus/deps/opus/celt/arm/celt_neon_intr.o] Error 1
It seems like I wasn't the only who encountered this issue: https://www.answeroverflow.com/m/1335236091724435466
Versions
@discordjs/opus
0.10.0
Issue priority
Low (slightly annoying)
SpiralP and SpoopyTim