Commit 114932c1 authored by vaclav's avatar vaclav
Browse files

address reviewer's comments

parent 30138212
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1539,7 +1539,7 @@ int main(
    {
        int16_t num_in_channels;
        num_in_channels = inBuffer.config.numChannels;
        const bool isCurrentFrameMultipleOf20ms = frame % ( 4 / args.render_num_subframes ) == 0;
        const bool isCurrentFrameMultipleOf20ms = frame % ( IVAS_RENDER_NUM_SUBFR_20MS / args.render_num_subframes ) == 0;

        if ( args.outConfig.audioConfig == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB && renderConfigReader != NULL &&
             args.aeSequence.count > 0 && args.aeSequence.pValidity[args.aeSequence.selected] != 0 )
+16 −16
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ ivas_error IVAS_DEC_Configure(
    IVAS_DEC_HANDLE hIvasDec,                          /* i/o: IVAS decoder handle                                                     */
    const uint32_t sampleRate,                         /* i  : output sampling frequency                                               */
    const IVAS_AUDIO_CONFIG outputConfig,              /* i  : audio configuration                                                     */
    const IVAS_RENDER_NUM_SUBFR render_n_subfr, /* i  : rendering number of subframes                                           */
    const IVAS_RENDER_NUM_SUBFR render_num_subframes,  /* i  : rendering number of subframes                                           */
    const bool customLsOutputEnabled,                  /* i  : enable custom loudspeaker setup handle                                  */
    const bool hrtfReaderEnabled,                      /* i  : enable HRTF binary file input                                           */
    const bool enableHeadRotation,                     /* i  : enable head rotation for binaural output                                */
+1 −1
Original line number Diff line number Diff line
@@ -1743,7 +1743,7 @@ ivas_error split_renderer_open_lc3plus(
    LC3PLUS_CONFIG config;
    int16_t isar_frame_size_ms;

    if ( ( error = isar_num_subfr_to_ms()( render_num_subframes, &isar_frame_size_ms ) ) != IVAS_ERR_OK )
    if ( ( error = isar_num_subfr_to_ms( render_num_subframes, &isar_frame_size_ms ) ) != IVAS_ERR_OK )
    {
        return error;
    }