Commit e93e4389 authored by sagnowski's avatar sagnowski
Browse files

Remove dbg code

parent ca1d6d37
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -176,7 +176,6 @@
#define LIB_REND_API_5MS                            /* FhG: Adds 5ms framing capability to lib_rend */
#endif
#define LIB_REND_FIX_HRTFPARAMBIN_MEMLEAK
#define SGI_DBG

/* ################## End DEVELOPMENT switches ######################### */
/* clang-format on */
+0 −19
Original line number Diff line number Diff line
@@ -36,9 +36,6 @@
#include "options.h"
#include <stdio.h>
#include <stdint.h>
#ifdef SGI_DBG
#include <assert.h>
#endif
#ifdef DEBUG_SBA
#include "sba_debug.h"
#endif
@@ -100,22 +97,6 @@ int16_t dbgwrite(
    const char *const filename
#endif
);
#ifdef SGI_DBG
inline static void sgi_dbgwrite(
    const float *const buffer,
    const int16_t count,
    const char *const filename )
{
    float tmp[960];

    for ( int i = 0; i < count; ++i )
    {
        tmp[i] = buffer[i] / INT16_MAX;
    }

    dbgwrite( tmp, sizeof( float ), count, 1, filename );
}
#endif

void dbgwrite_mat_repeat(
    float *buffer,      /* i  : write buffer */
+0 −4
Original line number Diff line number Diff line
@@ -5523,10 +5523,6 @@ static ivas_error renderMcToBinaural(
        {
            return error;
        }

#ifdef SGI_DBG
        sgi_dbgwrite( p_tmpRendBuffer[0], outAudio.config.numSamplesPerChannel, "res/p_tmpRendBuffer.pcm" );
#endif
    }

    accumulate2dArrayToBuffer( tmpRendBuffer, &outAudio );