Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81a028fe authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Remove dead code

Change-Id: Icf23f7f90fdeb660f4015f22cf239e6d05f5d03c
parent eebeceec
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1115,6 +1115,7 @@ void AudioMixer::process__OneTrack16BitsStereoNoResampling(state_t* state)
    }
}

#if 0
// 2 tracks is also a common case
// NEVER used in current implementation of process__validate()
// only use if the 2 tracks have the same output buffer
@@ -1212,7 +1213,7 @@ void AudioMixer::process__TwoTracks16BitsStereoNoResampling(state_t* state)
        delete [] buff;
    }
}
#endif

// ----------------------------------------------------------------------------
}; // namespace android
+2 −5
Original line number Diff line number Diff line
@@ -117,11 +117,6 @@ private:
        NEEDS_AUX_ENABLED      = 0x00010000,
    };

    static inline int32_t applyVolume(int32_t in, int32_t v) {
        return in * v;
    }


    struct state_t;
    struct track_t;

@@ -201,7 +196,9 @@ private:
    static void process__genericNoResampling(state_t* state);
    static void process__genericResampling(state_t* state);
    static void process__OneTrack16BitsStereoNoResampling(state_t* state);
#if 0
    static void process__TwoTracks16BitsStereoNoResampling(state_t* state);
#endif
};

// ----------------------------------------------------------------------------