summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/MonoPipe.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-05-18 10:47:28 -0700
committerGlenn Kasten <gkasten@google.com>2012-05-18 11:44:27 -0700
commit6d8aabe8a3be1ac0789d00b82c3ca8b81381f5ab (patch)
tree1f621b7f3f61ede29474f1d2c3802ecffa1df4c7 /services/audioflinger/MonoPipe.h
parent874a897f09dc7b06679bb273506d7e0fa0152220 (diff)
downloadframeworks_av-6d8aabe8a3be1ac0789d00b82c3ca8b81381f5ab.zip
frameworks_av-6d8aabe8a3be1ac0789d00b82c3ca8b81381f5ab.tar.gz
frameworks_av-6d8aabe8a3be1ac0789d00b82c3ca8b81381f5ab.tar.bz2
Add throttle to have pipe fill at more stable rate
Change-Id: Ibff9ab62764e2acd04518a4a00e25f19e28aff4a
Diffstat (limited to 'services/audioflinger/MonoPipe.h')
-rw-r--r--services/audioflinger/MonoPipe.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/services/audioflinger/MonoPipe.h b/services/audioflinger/MonoPipe.h
index 45e6bb4..1f56e54 100644
--- a/services/audioflinger/MonoPipe.h
+++ b/services/audioflinger/MonoPipe.h
@@ -67,7 +67,6 @@ private:
volatile int32_t mRear; // written by writer with android_atomic_release_store,
// read by reader with android_atomic_acquire_load
const bool mWriteCanBlock; // whether write() should block if the pipe is full
- struct timespec mSleep; // time to sleep if blocking is enabled and the pipe is full
};
} // namespace android