From ac1c0210aa09d93a3c1b490909a07b68e0430bd2 Mon Sep 17 00:00:00 2001 From: Tapani Pihlajakuja Date: Mon, 9 Feb 2026 16:22:41 +0530 Subject: [PATCH] Remove remains of macro DISABLE_DIRAC_DELAY_COMP --- lib_com/options.h | 1 - lib_enc/ivas_mcmasa_enc.c | 3 --- scripts/prepare_delivery.sh | 1 - 3 files changed, 5 deletions(-) diff --git a/lib_com/options.h b/lib_com/options.h index ad53cf3406..19eaea97e2 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -98,7 +98,6 @@ /*#define DEBUG_STEREO_DFT_OUTRESPRED*/ /* output residual prediction signal instead of L/R*/ /*DirAC Debug switches*/ -/*#define DEBUG_DISABLE_DIRAC_DELAY_COMP */ /* temporarily disable delay compensation on DirAC encoder */ /*#define DEBUG_BS_READ_WRITE*/ /*#define DEBUG_MODE_DIRAC_NOCORE*/ /*#define DEBUG_MODE_QMETADATA*/ /* output q_metadata parameters */ diff --git a/lib_enc/ivas_mcmasa_enc.c b/lib_enc/ivas_mcmasa_enc.c index 97924b502a..17d2fd046d 100644 --- a/lib_enc/ivas_mcmasa_enc.c +++ b/lib_enc/ivas_mcmasa_enc.c @@ -169,9 +169,6 @@ ivas_error ivas_mcmasa_enc_open( /* initialize delay compensation */ hMcMasa->num_samples_delay_comp = NS2SA( input_Fs, DELAY_DIRAC_ENC_CMP_NS ); -#ifdef DISABLE_DIRAC_DELAY_COMP - hMcMasa->num_samples_delay_comp = 0; /* disable delay compensation by setting to 0 */ -#endif tmp_f = (float) hMcMasa->num_samples_delay_comp / (float) ( NS2SA( input_Fs, DIRAC_SLOT_ENC_NS ) ); hMcMasa->num_slots_delay_comp = (int16_t) ( tmp_f ); diff --git a/scripts/prepare_delivery.sh b/scripts/prepare_delivery.sh index d3c7b6fa27..ef684ee2d0 100755 --- a/scripts/prepare_delivery.sh +++ b/scripts/prepare_delivery.sh @@ -230,7 +230,6 @@ if coan_exists; then echo "-UDEBUG_STEREO_DFT_NOQRES" >> $COAN_LIST echo "-UDEBUG_STEREO_DFT_OUTRESPRED" >> $COAN_LIST echo "-UDBG_STEREO_ICBWE2_TBE2K8" >> $COAN_LIST - echo "-UDEBUG_DISABLE_DIRAC_DELAY_COMP" >> $COAN_LIST echo "-UDEBUG_BS_READ_WRITE" >> $COAN_LIST echo "-UDEBUG_MODE_DIRAC_NOCORE" >> $COAN_LIST echo "-UDEBUG_MODE_QMETADATA" >> $COAN_LIST -- GitLab