Commit e5ed986b authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

replace explicit literal 16 by the constant HOA3_CHANNELS

parent 3765bd1e
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1262,7 +1262,7 @@ ivas_error ivas_binRenderer_open(

        /* initialize the dmx matrix */
#ifdef FIX_1058_DECODER_ERROR_WITH_REVERB_ROOM
        if ( hBinRenderer->nInChannels != 16 )
        if ( hBinRenderer->nInChannels != HOA3_CHANNELS )
#endif
        {
            for ( chIdx = 0; chIdx < BINAURAL_CHANNELS; chIdx++ )
@@ -1281,7 +1281,7 @@ ivas_error ivas_binRenderer_open(

    hBinRenderer->hEFAPdata = NULL;
#ifdef FIX_1058_DECODER_ERROR_WITH_REVERB_ROOM
    if ( hBinRenderer->hReverb != NULL && hBinRenderer->nInChannels != 16 )
    if ( hBinRenderer->hReverb != NULL && hBinRenderer->nInChannels != HOA3_CHANNELS )
#else
    if ( hBinRenderer->hReverb != NULL )
#endif