Commit 001242de authored by emerit's avatar emerit
Browse files

code formatting

parent 298b323a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -785,7 +785,7 @@ int main(
    int16_t *outInt16Buffer;
    float *outFloatBuffer;
#ifdef SPLIT_REND_WITH_HEAD_ROT
    uint8_t *bitsBufferData = NULL;
    uint8_t *bitsBufferData;
#endif
    IVAS_REND_AudioBuffer inBuffer;
    IVAS_REND_AudioBuffer outBuffer;
@@ -904,8 +904,8 @@ int main(
            exit( -1 );
        }
    }

#endif

    if ( !isEmptyString( args.renderConfigFilePath ) )
    {
        if ( RenderConfigReader_open( args.renderConfigFilePath, &renderConfigReader ) != IVAS_ERR_OK )
+0 −4
Original line number Diff line number Diff line
@@ -733,7 +733,6 @@ static ivas_error ivas_rend_initCrend(
#ifdef NONBE_FIX_BINARY_BINAURAL_READING
        hHrtf->init_from_rom = 0;
#endif

        if ( inConfigType == IVAS_REND_AUDIO_CONFIG_TYPE_CHANNEL_BASED )
        {
            hHrtf->max_num_ir -= 1; /* subtract LFE */
@@ -747,7 +746,6 @@ static ivas_error ivas_rend_initCrend(
                    return IVAS_ERROR( IVAS_ERR_INVALID_OUTPUT_FORMAT, "Invalid command wrong output format" );
                }
#endif

                hHrtf->latency_s = hSetOfHRTF->hHRTF_brir_combined->latency_s;
                hHrtf->max_num_iterations = hSetOfHRTF->hHRTF_brir_combined->max_num_iterations;
                hHrtf->index_frequency_max_diffuse = hSetOfHRTF->hHRTF_brir_combined->index_frequency_max_diffuse;
@@ -1359,7 +1357,6 @@ ivas_error ivas_rend_openCrend(
#else
                set_zero( hCrend->freq_buffer_re[i], max_total_ir_len );
#endif

                if ( ( hCrend->freq_buffer_im[i] = (float *) malloc( sizeof( float ) * max_total_ir_len ) ) == NULL )
                {
                    return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for Crend" );
@@ -1397,7 +1394,6 @@ ivas_error ivas_rend_openCrend(
#else
                set_zero( hCrend->freq_buffer_re_diffuse, max_total_ir_len );
#endif

                if ( ( hCrend->freq_buffer_im_diffuse = (float *) malloc( sizeof( float ) * max_total_ir_len ) ) == NULL )
                {
                    return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for Crend" );
+0 −1
Original line number Diff line number Diff line
@@ -38,7 +38,6 @@
#include "wmc_auto.h"
#include "ivas_prot.h"


/*-----------------------------------------------------------------------*
 * ivas_HRTF_binary_open()
 *
+0 −1
Original line number Diff line number Diff line
@@ -227,7 +227,6 @@ typedef struct
    MASA_PREREND_HANDLE hMasaPrerend;
} input_masa;


#ifdef NONBE_FIX_BINARY_BINAURAL_READING
typedef struct hrtf_handles
{