Commit 3061cfef authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Merge remote-tracking branch 'origin/float-pc' into 1716_ref_activate_switch

parents c0436d4b 5a4fdc9c
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -8435,7 +8435,11 @@ static ivas_error initMasaExtRenderer(
        return error;
    }

    if ( ( error = getAudioConfigNumChannels( outConfig, &hMasaExtRend->nchan_output ) ) != IVAS_ERR_OK )
    if ( outConfig == IVAS_AUDIO_CONFIG_LS_CUSTOM )
    {
        hMasaExtRend->nchan_output = inputMasa->base.ctx.pCustomLsOut->num_spk + inputMasa->base.ctx.pCustomLsOut->num_lfe;
    }
    else if ( ( error = getAudioConfigNumChannels( outConfig, &hMasaExtRend->nchan_output ) ) != IVAS_ERR_OK )
    {
        return error;
    }