summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-07-12 11:03:31 -0700
committerGlenn Kasten <gkasten@google.com>2012-07-12 11:09:09 -0700
commitd4070955e28ae62aa4be1657f9d32acde104bb86 (patch)
tree4e289a66bb82da52f8e0e1c1691b35f1309d9f35 /include
parent39c54f68804c1ce5c85ec588f3c2c63447a807b4 (diff)
downloadframeworks_av-d4070955e28ae62aa4be1657f9d32acde104bb86.zip
frameworks_av-d4070955e28ae62aa4be1657f9d32acde104bb86.tar.gz
frameworks_av-d4070955e28ae62aa4be1657f9d32acde104bb86.tar.bz2
Remove dead code in libmedia
Change-Id: I7d8201590cda29c9fa99662a4fdba222091febfe
Diffstat (limited to 'include')
-rw-r--r--include/media/AudioRecord.h7
-rw-r--r--include/media/AudioTrack.h2
-rw-r--r--include/media/Visualizer.h2
3 files changed, 0 insertions, 11 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h
index 813ea85..01ab8c7 100644
--- a/include/media/AudioRecord.h
+++ b/include/media/AudioRecord.h
@@ -72,12 +72,6 @@ public:
};
};
- /* These are static methods to control the system-wide AudioFlinger
- * only privileged processes can have access to them
- */
-
-// static status_t setMasterMute(bool mute);
-
/* As a convenience, if a callback is supplied, a handler thread
* is automatically created with the appropriate priority. This thread
* invokes the callback when a new buffer becomes ready or an overrun condition occurs.
@@ -330,7 +324,6 @@ private:
friend class AudioRecord;
virtual bool threadLoop();
virtual status_t readyToRun();
- virtual void onFirstRef() {}
AudioRecord& mReceiver;
};
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h
index 639d6d2..325f780 100644
--- a/include/media/AudioTrack.h
+++ b/include/media/AudioTrack.h
@@ -472,8 +472,6 @@ protected:
private:
friend class AudioTrack;
virtual bool threadLoop();
- virtual status_t readyToRun();
- virtual void onFirstRef();
AudioTrack& mReceiver;
~AudioTrackThread();
Mutex mMyLock; // Thread::mLock is private
diff --git a/include/media/Visualizer.h b/include/media/Visualizer.h
index fdec5ee..aa58905 100644
--- a/include/media/Visualizer.h
+++ b/include/media/Visualizer.h
@@ -142,8 +142,6 @@ private:
private:
friend class Visualizer;
virtual bool threadLoop();
- virtual status_t readyToRun();
- virtual void onFirstRef();
Visualizer& mReceiver;
Mutex mLock;
uint32_t mSleepTimeUs;