summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2015-05-21 16:12:36 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-21 16:12:37 +0000
commit748a792be85838c429ebf46acf7d6eb02e79f00b (patch)
tree5f9aa67825176080016baabc4cf844abd1e25ecb /services/audioflinger/AudioFlinger.h
parent2232aee25e4df7d04446912e8ad9e9dc44d8ec16 (diff)
parent72e3f39146fce4686bd96f11057c051bea376dfb (diff)
downloadframeworks_av-748a792be85838c429ebf46acf7d6eb02e79f00b.zip
frameworks_av-748a792be85838c429ebf46acf7d6eb02e79f00b.tar.gz
frameworks_av-748a792be85838c429ebf46acf7d6eb02e79f00b.tar.bz2
Merge "audio flinger: do not call JAVA services until system is ready" into mnc-dev
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r--services/audioflinger/AudioFlinger.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index d1e52d5..d087ced 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -257,6 +257,9 @@ public:
/* Get the HW synchronization source used for an audio session */
virtual audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId);
+ /* Indicate JAVA services are ready (scheduling, power management ...) */
+ virtual status_t systemReady();
+
virtual status_t onTransact(
uint32_t code,
const Parcel& data,
@@ -761,6 +764,7 @@ private:
uint32_t mPrimaryOutputSampleRate; // sample rate of the primary output, or zero if none
// protected by mHardwareLock
+ bool mSystemReady;
};
#undef INCLUDING_FROM_AUDIOFLINGER_H