diff options
author | Glenn Kasten <gkasten@google.com> | 2013-08-06 14:41:45 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2013-08-06 14:41:45 -0700 |
commit | aac30336994235e42a92861eb83289131a6b94dd (patch) | |
tree | 09febd07aef324753e2dad1d7ff27132d91d0167 /services/audioflinger/TrackBase.h | |
parent | deeef54487a34034dc0cfaab20b20d557224c07c (diff) | |
download | frameworks_av-aac30336994235e42a92861eb83289131a6b94dd.zip frameworks_av-aac30336994235e42a92861eb83289131a6b94dd.tar.gz frameworks_av-aac30336994235e42a92861eb83289131a6b94dd.tar.bz2 |
Remove obsolete TrackBase::getBuffer()
Change-Id: Ic39c7baa9538080bfec114bf18ff9b9986c93fed
Diffstat (limited to 'services/audioflinger/TrackBase.h')
-rw-r--r-- | services/audioflinger/TrackBase.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/services/audioflinger/TrackBase.h b/services/audioflinger/TrackBase.h index 523e4b2..7365ea2 100644 --- a/services/audioflinger/TrackBase.h +++ b/services/audioflinger/TrackBase.h @@ -76,15 +76,6 @@ protected: virtual uint32_t sampleRate() const { return mSampleRate; } - // Return a pointer to the start of a contiguous slice of the track buffer. - // Parameter 'offset' is the requested start position, expressed in - // monotonically increasing frame units relative to the track epoch. - // Parameter 'frames' is the requested length, also in frame units. - // Always returns non-NULL. It is the caller's responsibility to - // verify that this will be successful; the result of calling this - // function with invalid 'offset' or 'frames' is undefined. - void* getBuffer(uint32_t offset, uint32_t frames) const; - bool isStopped() const { return (mState == STOPPED || mState == FLUSHED); } |