Commit 857dd58b authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix compile error

parent 58c2c0c3
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2499,7 +2499,7 @@ static ivas_error decodeG192(
                    /* breakover object gains */
                    for ( obj_idx = 0; obj_idx < editableParameters.num_obj; obj_idx++ )
                    {
                        editableParameters.ism_metadata[obj_idx].gain = 0.5 + (float) ( ( frame + obj_idx * 50 ) % 250 ) / 250.0f;
                        editableParameters.ism_metadata[obj_idx].gain = 0.5f + (float) ( ( frame + obj_idx * 50 ) % 250 ) / 250.0f;
                    }

                    editableParameters.gain_bed = 0.5f;
+1 −3
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ static void TDREND_SRC_SPATIAL_SetDirAtten( TDREND_SRC_SPATIAL_t *SrcSpatial_p,
static void TDREND_SRC_SPATIAL_SetDistAtten( TDREND_SRC_SPATIAL_t *SrcSpatial_p, const TDREND_DistAtten_t *DistAtten_p );

#ifdef OBJ_EDITING_INTERFACE
static void TDREND_SRC_SPATIAL_SetGain( const TDREND_DirAtten_t *DirAtten_p, const float Gain );
static void TDREND_SRC_SPATIAL_SetGain( const TDREND_SRC_t *Src_p, const float Gain );
#endif

static float TDREND_SRC_SPATIAL_GetDirGain( const TDREND_DirAtten_t *DirAtten_p, const float *Front_p, const float *RelPos_p );
@@ -145,8 +145,6 @@ ivas_error TDREND_MIX_SRC_SetGain(
    const float Gain                                   /* i  : Gain    */
)
{
    TDREND_SRC_SPATIAL_t *SrcSpatial_p;

    /* Value verification */
    if ( !( Gain >= 0.0f && Gain <= 2.0f ) )
    {