Skip to content

Double indexing in accumulate2dArrayToBuffer in ivas-float-update

Basic info

Renderer (float): 56d5ea55

Bug description

A clear double indexing bug in accumulation function in renderer.

    for ( chnlIdx = 0; chnlIdx < buffer->config.numChannels; ++chnlIdx )
        for ( chnlIdx = 0; chnlIdx < buffer->config.numChannels; ++chnlIdx )
        {
            for ( smplIdx = 0; smplIdx < buffer->config.numSamplesPerChannel; ++smplIdx )
            {
                *writePtr++ += array[chnlIdx][smplIdx];

This affects many operation points in renderer.