Commit b06c4637 authored by sagnowski's avatar sagnowski
Browse files

Rename switch to be more descriptive

parent e3f468c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@

#define FLOAT_INTERFACE_ENC
#ifdef FLOAT_INTERFACE_ENC
#define FLOAT_INTERFACE_ENC_BE_HACKS
#define FLOAT_INTERFACE_ENC_EVS_STEREO_DMX_BE_FIX
#endif

#define FLOAT_INTERFACE_DEC_REND
+3 −3
Original line number Diff line number Diff line
@@ -798,7 +798,7 @@ void stereo_dmx_evs_enc(
    float dmx_weight, corr;
#ifdef FLOAT_INTERFACE_ENC
    float* data_f[CPE_CHANNELS];
#ifdef FLOAT_INTERFACE_ENC_BE_HACKS
#ifdef FLOAT_INTERFACE_ENC_EVS_STEREO_DMX_BE_FIX
    int16_t n;
    int16_t tmp;
#endif
@@ -814,7 +814,7 @@ void stereo_dmx_evs_enc(
#ifdef FLOAT_INTERFACE_ENC
    save_channel_pointers(data, 2, input_frame, data_f);

#ifdef FLOAT_INTERFACE_ENC_BE_HACKS
#ifdef FLOAT_INTERFACE_ENC_EVS_STEREO_DMX_BE_FIX
    /* Truncate input float values to keep BE with EVS - originally `data` was of type `int16_t*` */
    for ( n = 0; n < input_frame * 2; ++n )
    {
@@ -849,7 +849,7 @@ void stereo_dmx_evs_enc(
                     hStereoDmxEVS->dmx_weight, hStereoDmxEVS->pre_dmx_energy, hStereoDmxEVS->aux_dmx_energy );

#ifdef FLOAT_INTERFACE_ENC
#ifdef FLOAT_INTERFACE_ENC_BE_HACKS
#ifdef FLOAT_INTERFACE_ENC_EVS_STEREO_DMX_BE_FIX
    /* Round-off float values to keep BE with EVS - originally `data` was of type `int16_t*` */
    for ( n = 0; n < input_frame; ++n )
    {