Commit 5a8a5c70 authored by PLAINSI's avatar PLAINSI
Browse files

Fix custom loudspeaker setup

parent e8972b89
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -159,6 +159,7 @@ void ivas_mc_paramupmix_dec(
    MC_PARAMUPMIX_DEC_HANDLE hMCParamUpmix;
    int16_t i, k, ch;
    int16_t slot_idx;
    int16_t first_empty_channel;
    int16_t nchan_out_transport;
    /*CLDFB*/
    float Cldfb_RealBuffer[MC_PARAMUPMIX_MAX_TRANSPORT_CHANS][CLDFB_NO_COL_MAX][CLDFB_NO_CHANNELS_MAX];
@@ -268,6 +269,11 @@ void ivas_mc_paramupmix_dec(
        mvr2r( tmp_buf, hMCParamUpmix->pcm_delay[ch], noparamupmix_delay );
    }

    first_empty_channel = 12;
    for ( ch = first_empty_channel; ch < MAX_OUTPUT_CHANNELS; ch++ )
    {
        set_f( output_f[ch], 0.0, L_FRAME48k );
    }
    pop_wmops();

    return;