Loading lib_rend/lib_rend.c +6 −2 Original line number Diff line number Diff line Loading @@ -1248,6 +1248,7 @@ static void initRendInputBase( set_zero( inputBase->inputBuffer.data, dataBufSize ); } #endif return; } Loading Loading @@ -5889,7 +5890,9 @@ static ivas_error renderIsmToBinauralRoom( { return error; } accumulate2dArrayToBuffer( tmpRendBuffer, &outAudio ); free( tmpMcBuffer.data ); pop_wmops(); Loading Loading @@ -6388,7 +6391,6 @@ static ivas_error renderLfeToBinaural( } #endif /* SPLIT_REND_WITH_HEAD_ROT */ pop_wmops(); return IVAS_ERR_OK; Loading Loading @@ -8355,6 +8357,7 @@ ivas_error IVAS_REND_GetSamples( { return IVAS_ERR_UNEXPECTED_NULL_POINTER; } #ifdef SPLIT_REND_WITH_HEAD_ROT cldfb2tdSampleFact = ( outAudio.config.is_cldfb ) ? 2 : 1; #endif Loading @@ -8372,6 +8375,7 @@ ivas_error IVAS_REND_GetSamples( { return IVAS_ERR_WRONG_NUM_CHANNELS; } #ifdef SPLIT_REND_WITH_HEAD_ROT if ( getAudioConfigType( hIvasRend->outputConfig ) == IVAS_REND_AUDIO_CONFIG_TYPE_BINAURAL && ( outAudio.config.numSamplesPerChannel * 1000 / cldfb2tdSampleFact ) != BINAURAL_RENDERING_FRAME_SIZE_MS * hIvasRend->sampleRateOut ) Loading Loading
lib_rend/lib_rend.c +6 −2 Original line number Diff line number Diff line Loading @@ -1248,6 +1248,7 @@ static void initRendInputBase( set_zero( inputBase->inputBuffer.data, dataBufSize ); } #endif return; } Loading Loading @@ -5889,7 +5890,9 @@ static ivas_error renderIsmToBinauralRoom( { return error; } accumulate2dArrayToBuffer( tmpRendBuffer, &outAudio ); free( tmpMcBuffer.data ); pop_wmops(); Loading Loading @@ -6388,7 +6391,6 @@ static ivas_error renderLfeToBinaural( } #endif /* SPLIT_REND_WITH_HEAD_ROT */ pop_wmops(); return IVAS_ERR_OK; Loading Loading @@ -8355,6 +8357,7 @@ ivas_error IVAS_REND_GetSamples( { return IVAS_ERR_UNEXPECTED_NULL_POINTER; } #ifdef SPLIT_REND_WITH_HEAD_ROT cldfb2tdSampleFact = ( outAudio.config.is_cldfb ) ? 2 : 1; #endif Loading @@ -8372,6 +8375,7 @@ ivas_error IVAS_REND_GetSamples( { return IVAS_ERR_WRONG_NUM_CHANNELS; } #ifdef SPLIT_REND_WITH_HEAD_ROT if ( getAudioConfigType( hIvasRend->outputConfig ) == IVAS_REND_AUDIO_CONFIG_TYPE_BINAURAL && ( outAudio.config.numSamplesPerChannel * 1000 / cldfb2tdSampleFact ) != BINAURAL_RENDERING_FRAME_SIZE_MS * hIvasRend->sampleRateOut ) Loading