summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Threads.h
diff options
context:
space:
mode:
authorHaynes Mathew George <hgeorge@codeaurora.org>2014-01-15 12:31:39 -0800
committerEric Laurent <elaurent@google.com>2014-02-06 11:49:51 -0800
commit4c6a433d74d5ae8b9bc0557207e3ced43bf34a25 (patch)
treed0447045cdae870c774e1b1f617916f059eeaf0f /services/audioflinger/Threads.h
parent7844f679be8d94c5cdf017f53754cb68ee2f00da (diff)
downloadframeworks_av-4c6a433d74d5ae8b9bc0557207e3ced43bf34a25.zip
frameworks_av-4c6a433d74d5ae8b9bc0557207e3ced43bf34a25.tar.gz
frameworks_av-4c6a433d74d5ae8b9bc0557207e3ced43bf34a25.tar.bz2
AudioFlinger: Offload track transition fix
Trigger state changes in OffloadThread on adding a new offload track. Bug: 12530661 Change-Id: I95b62764c7ac041d470702e86b951f812eb0e70f
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r--services/audioflinger/Threads.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h
index 19289d2..9682fa6 100644
--- a/services/audioflinger/Threads.h
+++ b/services/audioflinger/Threads.h
@@ -394,7 +394,7 @@ protected:
virtual bool waitingAsyncCallback();
virtual bool waitingAsyncCallback_l();
virtual bool shouldStandby_l();
-
+ virtual void onAddNewTrack_l();
// ThreadBase virtuals
virtual void preExit();
@@ -753,6 +753,7 @@ protected:
virtual bool waitingAsyncCallback();
virtual bool waitingAsyncCallback_l();
virtual bool shouldStandby_l();
+ virtual void onAddNewTrack_l();
private:
void flushHw_l();