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

Commit 39c54f68 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Remove dead code

Change-Id: If22a6c4e572b0734eba0c5a7ce29a2c61c581e5d
parent 4fe1ec4f
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -6629,12 +6629,6 @@ AudioFlinger::RecordThread::RecordTrack* AudioFlinger::RecordThread::track()
    return mTrack;
}

AudioFlinger::AudioStreamIn* AudioFlinger::RecordThread::getInput() const
{
    Mutex::Autolock _l(mLock);
    return mInput;
}

AudioFlinger::AudioStreamIn* AudioFlinger::RecordThread::clearInput()
{
    Mutex::Autolock _l(mLock);
+0 −3
Original line number Diff line number Diff line
@@ -505,7 +505,6 @@ private:
                    // and returns the normal mix buffer's frame count.  No API for HAL frame count.
                    size_t      frameCount() const { return mNormalFrameCount; }

                    void        wakeUp()    { mWaitWorkCV.broadcast(); }
        // Should be "virtual status_t requestExitAndWait()" and override same
        // method in Thread, but Thread::requestExitAndWait() is not yet virtual.
                    void        exit();
@@ -1415,7 +1414,6 @@ private:
                                  int triggerSession);
                void        stop(RecordTrack* recordTrack);
                status_t    dump(int fd, const Vector<String16>& args);
                AudioStreamIn* getInput() const;
                AudioStreamIn* clearInput();
                virtual audio_stream_t* stream() const;

@@ -1443,7 +1441,6 @@ private:
    private:
                void clearSyncStartEvent();

                RecordThread();
                AudioStreamIn                       *mInput;
                RecordTrack*                        mTrack;
                sp<RecordTrack>                     mActiveTrack;