Loading lib_isar/lib_isar_post_rend.c +11 −1 Original line number Diff line number Diff line Loading @@ -80,11 +80,18 @@ typedef struct { const int32_t *pOutSampleRate; const AUDIO_CONFIG *pOutConfig; #ifndef ISAR_BITSTREAM_UPDATE_LC3PLUS const LSSETUP_CUSTOM_STRUCT *pCustomLsOut; const EFAP_WRAPPER *pEfapOutWrapper; #endif const ISAR_POST_REND_HeadRotData *pHeadRotData; #ifndef ISAR_BITSTREAM_UPDATE_LC3PLUS const RENDER_CONFIG_HANDLE *hhRendererConfig; #endif const int16_t *pSplitRendBFI; #ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS const ISAR_SPLIT_REND_CONFIG_DATA *pSplitRenderConfig; #endif } rendering_context; /* Common base for input structs */ Loading Loading @@ -463,6 +470,9 @@ static rendering_context getRendCtx( ctx.pOutSampleRate = &hIvasRend->sampleRateOut; ctx.pHeadRotData = &hIvasRend->headRotData; ctx.pSplitRendBFI = &hIvasRend->splitRendBFI; #ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS ctx.pSplitRenderConfig = &hIvasRend->splitRenderConfig; #endif return ctx; } Loading Loading @@ -1566,7 +1576,7 @@ static ivas_error renderSplitBinauralWithPostRot( if ( splitBinInput->numCachedSamples == 0 ) { #ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS preRendFrameSize_ms = (*splitBinInput->base.ctx.hhRendererConfig)->split_rend_config.isar_frame_size_ms; preRendFrameSize_ms = splitBinInput->base.ctx.pSplitRenderConfig->isar_frame_size_ms; #else preRendFrameSize_ms = (int16_t) ( ivas_frame_duration_us ) / 1000; #endif Loading Loading
lib_isar/lib_isar_post_rend.c +11 −1 Original line number Diff line number Diff line Loading @@ -80,11 +80,18 @@ typedef struct { const int32_t *pOutSampleRate; const AUDIO_CONFIG *pOutConfig; #ifndef ISAR_BITSTREAM_UPDATE_LC3PLUS const LSSETUP_CUSTOM_STRUCT *pCustomLsOut; const EFAP_WRAPPER *pEfapOutWrapper; #endif const ISAR_POST_REND_HeadRotData *pHeadRotData; #ifndef ISAR_BITSTREAM_UPDATE_LC3PLUS const RENDER_CONFIG_HANDLE *hhRendererConfig; #endif const int16_t *pSplitRendBFI; #ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS const ISAR_SPLIT_REND_CONFIG_DATA *pSplitRenderConfig; #endif } rendering_context; /* Common base for input structs */ Loading Loading @@ -463,6 +470,9 @@ static rendering_context getRendCtx( ctx.pOutSampleRate = &hIvasRend->sampleRateOut; ctx.pHeadRotData = &hIvasRend->headRotData; ctx.pSplitRendBFI = &hIvasRend->splitRendBFI; #ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS ctx.pSplitRenderConfig = &hIvasRend->splitRenderConfig; #endif return ctx; } Loading Loading @@ -1566,7 +1576,7 @@ static ivas_error renderSplitBinauralWithPostRot( if ( splitBinInput->numCachedSamples == 0 ) { #ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS preRendFrameSize_ms = (*splitBinInput->base.ctx.hhRendererConfig)->split_rend_config.isar_frame_size_ms; preRendFrameSize_ms = splitBinInput->base.ctx.pSplitRenderConfig->isar_frame_size_ms; #else preRendFrameSize_ms = (int16_t) ( ivas_frame_duration_us ) / 1000; #endif Loading