Loading lib_dec/ivas_binRenderer_internal.c +3 −2 Original line number Diff line number Diff line Loading @@ -151,14 +151,15 @@ static ivas_error ivas_binRenderer_convModuleOpen( if ( !isLoudspeaker ) { #ifdef UPDATE_SBA_FILTER hBinRenderer->nInChannels = audioCfg2channels( input_config ); // TODO maybe an audioCfg2channels_woLFE() function? Works as long as only 1 LFE is present hBinRenderer->nInChannels = audioCfg2channels( input_config ); #else hBinRenderer->nInChannels = 16; #endif } else { hBinRenderer->nInChannels = ( audioCfg2channels( input_config ) - isLoudspeaker ); // TODO maybe an audioCfg2channels_woLFE() function? Works as long as only 1 LFE is present /* Note: needs to be revisited if multiple LFE support is required */ hBinRenderer->nInChannels = ( audioCfg2channels( input_config ) - isLoudspeaker ); } if ( renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && hRenderConfig->roomAcoustics.use_brir ) Loading Loading
lib_dec/ivas_binRenderer_internal.c +3 −2 Original line number Diff line number Diff line Loading @@ -151,14 +151,15 @@ static ivas_error ivas_binRenderer_convModuleOpen( if ( !isLoudspeaker ) { #ifdef UPDATE_SBA_FILTER hBinRenderer->nInChannels = audioCfg2channels( input_config ); // TODO maybe an audioCfg2channels_woLFE() function? Works as long as only 1 LFE is present hBinRenderer->nInChannels = audioCfg2channels( input_config ); #else hBinRenderer->nInChannels = 16; #endif } else { hBinRenderer->nInChannels = ( audioCfg2channels( input_config ) - isLoudspeaker ); // TODO maybe an audioCfg2channels_woLFE() function? Works as long as only 1 LFE is present /* Note: needs to be revisited if multiple LFE support is required */ hBinRenderer->nInChannels = ( audioCfg2channels( input_config ) - isLoudspeaker ); } if ( renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && hRenderConfig->roomAcoustics.use_brir ) Loading