Commit ec160a3e authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_WARNING_RENDER_CONFIG

parent 008f08dd
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -152,7 +152,6 @@
/*#define SPLIT_REND_WITH_HEAD_ROT  */                  /* Dlb,FhG: Split Rendering contributions 21 and 35 */

#define FIX_638_ENERGIE_IAC_ROM_TABLES                  /* Orange : Missing left/right and coherence late reverb tables in binary format*/
#define FIX_WARNING_RENDER_CONFIG                       /* Orange: fix warning on windows build */
#define FIX_WARNING_SPLIT_RENDER                        /* Orange: fix warning on windows build vscode */
#define FIX_INV_DIFFUSE_WEIGHT                          /* Orange : Fix error in energy compensation in late binaural reverb*/
#define FIX_20_MS_FRAME_LEN_TABLES_CONVERTER            /* Orange : generate_tables_converter tools can generate rom for 5 and 20 ms frame length */
+0 −4
Original line number Diff line number Diff line
@@ -435,11 +435,7 @@ static ivas_error read_bin_bits(
    *pTarget = 0;
    for ( n = 0; n < nBits; n++ )
    {
#ifdef FIX_WARNING_RENDER_CONFIG
        nByte = (uint32_t) ( ( this->readOffset + n ) >> 3 );
#else
        nByte = ( this->readOffset + n ) >> 3;
#endif
        bit = this->pBitstream[nByte] >> ( 7 - ( ( this->readOffset + n ) % 8 ) ) & 1;
        *pTarget = ( *pTarget << 1 ) + bit;
    }