Commit 8a36c533 authored by Jan Kiene's avatar Jan Kiene
Browse files

bring back missing code

this fixes post rend output from garbage to actual signal, but scaling
still needs to be corrected
parent 55c3c39b
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -9485,6 +9485,14 @@ ivas_error IVAS_REND_GetSplitBinauralBitstream(
        return error;
    }

    IF( EQ_32( hIvasRend->outputConfig, IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_PCM ) )
    {
        FOR( j = 0; j < BINAURAL_CHANNELS; j++ )
        {
            scale_sig32( tmpBinaural_buff[j], L_FRAME48k, sub( *outAudio.pq_fact, Q_out[j] ) ); // *outAudio.pq_fact
        }
    }

    convertInternalBitsBuffToBitsBuffer( hBits, bits );

    /* copy over first pose data to outAudio */