Commit 9c96307d authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Rendering via 7.1+4 only in case of BINAURAL_ROOM_IR mode

parent 36f7240f
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2001,6 +2001,7 @@ static ivas_error updateMcPanGains(
                case IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_PCM:
                    break; /* Do nothing */
                case IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR:
                case IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB:
                    /* Prepare rendering to intermediate format */
                    error = updateMcPanGainsForMcOut( inputMc, IVAS_AUDIO_CONFIG_7_1_4 );
                    break;
@@ -6275,6 +6276,7 @@ static ivas_error renderInputMc(
                    error = renderMcToBinaural( mcInput, outConfig, outAudio );
                    break;
                case IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR:
                case IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB:
                    if ( mcInput->base.inConfig == IVAS_AUDIO_CONFIG_LS_CUSTOM )
                    {
                        error = renderMcCustomLsToBinauralRoom( mcInput, outConfig, outAudio );