Commit 9649dad5 authored by vaclav's avatar vaclav
Browse files

fix build when MASA_AND_OBJECTS is disabled

parent d34332b6
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -58,13 +58,13 @@

#ifdef DEBUGGING

#define DEBUG_MODE_INFO                     /* output most important parameters to the subdirectory "res/" */
/*#define DEBUG_MODE_INFO*/                     /* output most important parameters to the subdirectory "res/" */
#ifdef DEBUG_MODE_INFO
#define DEBUG_MODE_ACELP                    /* output most important ACELP core parameters to the subdirectory "res/" */
/*#define DEBUG_MODE_ACELP*/                    /* output most important ACELP core parameters to the subdirectory "res/" */
/*#define DEBUG_MODE_TCX*/                      /* output most important TCX core parameters to the subdirectory "res/" */
/*#define DEBUG_MODE_DFT */                     /* output most important DFT stereo parameters to the subdirectory "res/" */
#define DEBUG_MODE_TD                       /* output most important TD stereo parameters to the subdirectory "res/ */
//#define DEBUG_MODE_DIRAC                   /* output most important DIRAC parameters to the subdirectory "res/" */
/*#define DEBUG_MODE_TD*/                       /* output most important TD stereo parameters to the subdirectory "res/ */
/*#define DEBUG_MODE_DIRAC*/                    /* output most important DIRAC parameters to the subdirectory "res/" */
/*#define DEBUG_MODE_MDCT*/                     /* output most important MDCT parameters to the subdirectory "res/" */
/*#define DEBUG_MODE_PARAM_MC */                /* output Parametric MC paramters to the subdirectory "res/" */
/*#define DEBUG_MODE_PARAM_ISM*/                /* output Parametric ISM paramters to the subdirectory "res/" */
+2 −0
Original line number Diff line number Diff line
@@ -597,12 +597,14 @@ ivas_error ivas_cpe_dec(
                dbgwrite( output[j], sizeof( float ), output_frame, 1, fname( debug_dir, "output.cpe", j, cpe_id, DEC ) );
            }

#ifdef MASA_AND_OBJECTS
            if ( st_ivas->ivas_format != MASA_ISM_FORMAT )
            {
                tmpF = 0;
                dbgwrite( &tmpF, sizeof( float ), 1, output_frame, fname( debug_dir, "output.sce", 0, cpe_id, DEC ) );
                dbgwrite( &tmpF, sizeof( float ), 1, output_frame, fname( debug_dir, "output.mct", 0, cpe_id, DEC ) );
            }
#endif
        }
    }
#endif
+2 −0
Original line number Diff line number Diff line
@@ -326,12 +326,14 @@ ivas_error ivas_sce_dec(

            dbgwrite( output, sizeof( float ), output_frame, 1, fname( debug_dir, "output.sce", 0, sce_id, DEC ) );

#ifdef MASA_AND_OBJECTS
            if ( st_ivas->ivas_format != MASA_ISM_FORMAT )
            {
                tmpF = 0;
                dbgwrite( &tmpF, sizeof( float ), 1, output_frame, fname( debug_dir, "output.cpe", 0, sce_id, DEC ) );
                dbgwrite( &tmpF, sizeof( float ), 1, output_frame, fname( debug_dir, "output.mct", 0, sce_id, DEC ) );
            }
#endif
        }
    }
#endif