Commit e56d5175 authored by malenov's avatar malenov
Browse files

replace FRAMES_PER_SECOND (WMC tool specific marco) by FRAMES_PER_SEC...

replace FRAMES_PER_SECOND (WMC tool specific marco) by FRAMES_PER_SEC (IVAS-specific). Both have the same value of 50.0
parent e71cc6b2
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1776,7 +1776,7 @@ ivas_error split_renderer_open_lc3plus(
    /* Alocate buffers for delay compensation */
    if ( pSplitRendConfig->codec == ISAR_SPLIT_REND_CODEC_LC3PLUS )
    {
        delayBufferLength = (int16_t) ( output_Fs / (int32_t) FRAMES_PER_SECOND + hSplitRendWrapper->lc3plusDelaySamples );
        delayBufferLength = (int16_t) ( output_Fs / (int32_t) FRAMES_PER_SEC + hSplitRendWrapper->lc3plusDelaySamples );
        for ( i = 0; i < hSplitRendWrapper->multiBinPoseData.num_poses * BINAURAL_CHANNELS; ++i )
        {
            if ( ( hSplitRendWrapper->lc3plusDelayBuffers[i] = malloc( delayBufferLength * sizeof( float ) ) ) == NULL )
@@ -1905,7 +1905,7 @@ ivas_error isar_renderMultiTDBinToSplitBinaural(
    if ( useLc3plus )
    {
        /*this should always have the time resolution of pose correction MD. Note that this does not change frame size of LC3plus*/
        int16_t frame_size = (int16_t) ( hSplitBin->hLc3plusEnc->config.samplerate / (int32_t) FRAMES_PER_SECOND );
        int16_t frame_size = (int16_t) ( hSplitBin->hLc3plusEnc->config.samplerate / (int32_t) FRAMES_PER_SEC );

        for ( i = 0; i < num_poses * BINAURAL_CHANNELS; ++i )
        {