Commit 330be5b7 authored by vaclav's avatar vaclav
Browse files

fix build - simplification

parent d2bf6c24
Loading
Loading
Loading
Loading
Loading
+3 −13
Original line number Diff line number Diff line
@@ -923,19 +923,9 @@ static ivas_error ivas_rend_initCrend(
                    if ( ext_rend_flag == 0 )
                    {
                        /* in case of HRTF handle reuse, swap the pointers for correct deallocation at the exit */
                        const uint16_t *p_tmp;
                        p_tmp = hHrtf->pIndex_frequency_max[i][j];
                        hHrtf->pIndex_frequency_max[i][j] = hHrtf->pIndex_frequency_max[tmp][j];
                        hHrtf->pIndex_frequency_max[tmp][j] = p_tmp;

                        const float *p_tmpF;
                        p_tmpF = hHrtf->pOut_to_bin_re[i][j];
                        hHrtf->pOut_to_bin_re[i][j] = hHrtf->pOut_to_bin_re[tmp][j];
                        hHrtf->pOut_to_bin_re[tmp][j] = p_tmpF;

                        p_tmpF = hHrtf->pOut_to_bin_im[i][j];
                        hHrtf->pOut_to_bin_im[i][j] = hHrtf->pOut_to_bin_im[tmp][j];
                        hHrtf->pOut_to_bin_im[tmp][j] = p_tmpF;
                        swap( hHrtf->pIndex_frequency_max[i][j], hHrtf->pIndex_frequency_max[tmp][j], const uint16_t * );
                        swap( hHrtf->pOut_to_bin_re[i][j], hHrtf->pOut_to_bin_re[tmp][j], const float * );
                        swap( hHrtf->pOut_to_bin_im[i][j], hHrtf->pOut_to_bin_im[tmp][j], const float * );
                    }
                    else
                    {