diff --git a/lib_com/options.h b/lib_com/options.h index 2dc3d3321af953eb468c23ebfb128eefb31e54f0..82fbd67100488f04e1d6f4445c7b23aa73bf76e0 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -181,6 +181,7 @@ #define NONBE_FIX_AVG_IAC_CLDFB_REVERB #endif #define FIX_993_REMOVE_SBA_GET_ORDER /* VA: issue 993: remove unused function ivas_sba_get_order() */ +#define FIX_960_SYN_OUTPUT /* VA: issue 960: unused function syn_output() is removed */ //#define USE_NEW_HRTF_BINARY_FILE_FORMAT /* Orange: to activate when decided to change the hrtf binary file format */ #ifdef USE_NEW_HRTF_BINARY_FILE_FORMAT diff --git a/lib_com/prot.h b/lib_com/prot.h index 5dd083e86764389625a1de7ba048ece22a2972de..46fc826ed0dc6d313c28ec2b1fcd373387444483 100644 --- a/lib_com/prot.h +++ b/lib_com/prot.h @@ -4789,13 +4789,14 @@ void dec_acelp_4t64( float code[], /* o : algebraic (fixed) codebook excitation */ const int16_t Opt_AMR_WB /* i : flag indicating AMR-WB IO mode */ ); - +#ifndef FIX_960_SYN_OUTPUT uint32_t syn_output( float *synth, /* i/o: float synthesis signal */ const int16_t output_frame, /* i : output frame length */ int16_t *synth_out /* o : integer 16 bits synthesis signal */ ); +#endif void FEC_exc_estim( Decoder_State *st, /* i/o: Decoder static memory */ const int16_t L_frame, /* i : length of the frame */ diff --git a/lib_dec/syn_outp.c b/lib_dec/syn_outp.c index 68389fa27980f1e1c747e8b0552435df2d7395c2..b5332088505931612d1ba9ae876335ee257c9a06 100644 --- a/lib_dec/syn_outp.c +++ b/lib_dec/syn_outp.c @@ -44,6 +44,7 @@ #include "prot.h" #include "wmc_auto.h" +#ifndef FIX_960_SYN_OUTPUT /*-------------------------------------------------------------------* * syn_output() * @@ -65,7 +66,7 @@ uint32_t syn_output( /* integer conversion */ return mvr2s( synth, synth_out, output_frame ); } - +#endif /*-------------------------------------------------------------------* * AGC_dec()