Commit 0c87ceda authored by TYAGIRIS's avatar TYAGIRIS
Browse files

delay the dumped cdmx signal to remove switching issues in stereo modes

parent e0f31ab8
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1094,9 +1094,9 @@ ivas_error pre_proc_front_ivas_fx(
        int16_t tmpF[L_FRAME48k];
        for ( int16_t isample = 0; isample < input_frame; isample++ )
        {
            tmpF[isample] = (int16_t) ( (float) in_buff_temp[isample] / ( (float) ( 1 << in_q_temp ) ) );
            tmpF[isample] = (int16_t) ( (float) in_buff_temp[isample - NS2SA( st->input_Fs, ACELP_LOOK_NS )] / ( (float) ( 1 << in_q_temp ) ) );
        }
        dbgwrite( &tmpF, sizeof( int16_t ), input_frame, 1, strcat( fname( debug_dir, "input_dmx", 0, ch_idx + 1, ENC ), ".pcm" ) );
        dbgwrite( &tmpF, sizeof( int16_t ), input_frame, 1, strcat( fname( debug_dir, "ivas_input_dmx", 0, ch_idx + 1, ENC ), ".pcm" ) );
    }
#endif