Loading apps/renderer.c +2 −2 Original line number Diff line number Diff line Loading @@ -1132,7 +1132,7 @@ int main( if ( !args.framing_5ms ) { /* Skip over 3 following head positions - they are given on 5ms grid */ for ( int16_t i = 0; i < 3; ++i ) for ( i = 0; i < 3; ++i ) { if ( ( error = HeadRotationFileReading( headRotReader, &headRot, &Pos ) ) != IVAS_ERR_OK ) { Loading Loading @@ -1202,7 +1202,7 @@ int main( if ( !args.framing_5ms ) { /* Skip over 3 following entries in file - they are given on 5ms grid */ for ( int16_t i = 0; i < 3; ++i ) for ( i = 0; i < 3; ++i ) { if ( ( error = ExternalOrientationFileReading( externalOrientationFileReader, &quat, &enableHeadRotation, &enableExternalOrientation, &enableRotationInterpolation, &numFramesToTargetOrientation ) ) != IVAS_ERR_OK ) { Loading lib_rend/lib_rend.c +1 −1 Original line number Diff line number Diff line Loading @@ -4937,7 +4937,7 @@ static int16_t num_subframes_in_buffer( const IVAS_REND_AudioBuffer *buffer, int #ifdef DEBUGGING assert( buffer->config.numSamplesPerChannel % (sampleRate / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES) == 0 ); #endif return buffer->config.numSamplesPerChannel / (sampleRate / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES); return (int16_t) ( buffer->config.numSamplesPerChannel / ( sampleRate / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES ) ); } #endif Loading Loading
apps/renderer.c +2 −2 Original line number Diff line number Diff line Loading @@ -1132,7 +1132,7 @@ int main( if ( !args.framing_5ms ) { /* Skip over 3 following head positions - they are given on 5ms grid */ for ( int16_t i = 0; i < 3; ++i ) for ( i = 0; i < 3; ++i ) { if ( ( error = HeadRotationFileReading( headRotReader, &headRot, &Pos ) ) != IVAS_ERR_OK ) { Loading Loading @@ -1202,7 +1202,7 @@ int main( if ( !args.framing_5ms ) { /* Skip over 3 following entries in file - they are given on 5ms grid */ for ( int16_t i = 0; i < 3; ++i ) for ( i = 0; i < 3; ++i ) { if ( ( error = ExternalOrientationFileReading( externalOrientationFileReader, &quat, &enableHeadRotation, &enableExternalOrientation, &enableRotationInterpolation, &numFramesToTargetOrientation ) ) != IVAS_ERR_OK ) { Loading
lib_rend/lib_rend.c +1 −1 Original line number Diff line number Diff line Loading @@ -4937,7 +4937,7 @@ static int16_t num_subframes_in_buffer( const IVAS_REND_AudioBuffer *buffer, int #ifdef DEBUGGING assert( buffer->config.numSamplesPerChannel % (sampleRate / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES) == 0 ); #endif return buffer->config.numSamplesPerChannel / (sampleRate / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES); return (int16_t) ( buffer->config.numSamplesPerChannel / ( sampleRate / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES ) ); } #endif Loading