diff options
author | Glenn Kasten <gkasten@google.com> | 2013-02-27 09:39:39 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2013-02-27 09:39:55 -0800 |
commit | 409e3749a5627f1b360feb1479fcd341067a90b8 (patch) | |
tree | 7b00ffd905ff1058b466b0e8176501e7d432a078 /include | |
parent | ceb388d6c03c38b96dc41c0ea4804b749aa077c4 (diff) | |
download | frameworks_av-409e3749a5627f1b360feb1479fcd341067a90b8.zip frameworks_av-409e3749a5627f1b360feb1479fcd341067a90b8.tar.gz frameworks_av-409e3749a5627f1b360feb1479fcd341067a90b8.tar.bz2 |
Revert "Logging to investigate a crash"
This reverts commit f0ff908da019a44115109f1b4d1b6864b35a8a29.
Diffstat (limited to 'include')
-rw-r--r-- | include/media/AudioBufferProvider.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/media/AudioBufferProvider.h b/include/media/AudioBufferProvider.h index 865ed7e..43e4de7 100644 --- a/include/media/AudioBufferProvider.h +++ b/include/media/AudioBufferProvider.h @@ -36,11 +36,8 @@ public: size_t frameCount; }; -protected: - AudioBufferProvider() : mValid(kValid) { } - virtual ~AudioBufferProvider() { mValid = kDead; } + virtual ~AudioBufferProvider() {} -public: // value representing an invalid presentation timestamp static const int64_t kInvalidPTS = 0x7FFFFFFFFFFFFFFFLL; // <stdint.h> is too painful @@ -50,13 +47,6 @@ public: virtual status_t getNextBuffer(Buffer* buffer, int64_t pts = kInvalidPTS) = 0; virtual void releaseBuffer(Buffer* buffer) = 0; - - int getValid() const { return mValid; } - static const int kValid = 'GOOD'; - static const int kDead = 'DEAD'; - -private: - int mValid; }; // ---------------------------------------------------------------------------- |