From aac30336994235e42a92861eb83289131a6b94dd Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Tue, 6 Aug 2013 14:41:45 -0700 Subject: Remove obsolete TrackBase::getBuffer() Change-Id: Ic39c7baa9538080bfec114bf18ff9b9986c93fed --- services/audioflinger/TrackBase.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'services/audioflinger/TrackBase.h') 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); } -- cgit v1.1