diff options
author | Haynes Mathew George <hgeorge@codeaurora.org> | 2014-01-15 12:32:55 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-02-06 11:48:22 -0800 |
commit | 7844f679be8d94c5cdf017f53754cb68ee2f00da (patch) | |
tree | 60b91c8d8d95f49d98b1c35110b6f4fe5498cb62 /services/audioflinger/Threads.h | |
parent | 0f02f265123b7ef2fd6ac09ff70cde26eb5559ad (diff) | |
download | frameworks_av-7844f679be8d94c5cdf017f53754cb68ee2f00da.zip frameworks_av-7844f679be8d94c5cdf017f53754cb68ee2f00da.tar.gz frameworks_av-7844f679be8d94c5cdf017f53754cb68ee2f00da.tar.bz2 |
AudioFlinger: Modify flush handling for offload path
Do not allow an offload track to directly control the offload thread
behavior. OffloadThread can check for any pending flush reporting
by its active tracks and decide to flush the HW or not.
Bug: 12530661
Change-Id: Ib33f023c942f6c091b618004136b153c38a6eef6
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r-- | services/audioflinger/Threads.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h index 1745ea1..19289d2 100644 --- a/services/audioflinger/Threads.h +++ b/services/audioflinger/Threads.h @@ -631,7 +631,6 @@ public: protected: // accessed by both binder threads and within threadLoop(), lock on mutex needed unsigned mFastTrackAvailMask; // bit i set if fast track [i] is available - virtual void flushOutput_l(); private: // timestamp latch: @@ -750,7 +749,6 @@ protected: // threadLoop snippets virtual mixer_state prepareTracks_l(Vector< sp<Track> > *tracksToRemove); virtual void threadLoop_exit(); - virtual void flushOutput_l(); virtual bool waitingAsyncCallback(); virtual bool waitingAsyncCallback_l(); |