Commit 7dc4826d authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] add leftovers from FIX_1435_MOVE_STEREO_PANNING

parent 6187b6ad
Loading
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -228,9 +228,17 @@ void ivas_renderer_select(
     * Non-binaural rendering configurations
     *-----------------------------------------------------------------*/

#ifdef FIX_1435_MOVE_STEREO_PANNING
    else if ( st_ivas->ivas_format == MONO_FORMAT || st_ivas->ivas_format == STEREO_FORMAT )
#else
    else if ( st_ivas->ivas_format == MONO_FORMAT )
#endif
    {
#ifdef FIX_1435_MOVE_STEREO_PANNING
        if ( st_ivas->ivas_format == MONO_FORMAT && output_config == IVAS_AUDIO_CONFIG_STEREO )
#else
        if ( output_config == IVAS_AUDIO_CONFIG_STEREO )
#endif
        {
            *renderer_type = RENDERER_NON_DIEGETIC_DOWNMIX;
        }
@@ -238,6 +246,12 @@ void ivas_renderer_select(
        {
            *renderer_type = RENDERER_MC;
        }
#ifdef FIX_1435_MOVE_STEREO_PANNING
        else if ( output_config == IVAS_AUDIO_CONFIG_FOA || output_config == IVAS_AUDIO_CONFIG_HOA2 || output_config == IVAS_AUDIO_CONFIG_HOA3 )
        {
            *renderer_type = RENDERER_SBA_LINEAR_ENC;
        }
#endif
    }
    else if ( st_ivas->ivas_format == ISM_FORMAT )
    {