diff options
author | Eric Laurent <elaurent@google.com> | 2013-08-19 18:16:49 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-08-19 18:16:49 -0700 |
commit | 9f178e705836d9ac8de64487929732c302644bee (patch) | |
tree | a40bcf348468c1d29a2636abf639011585127f8d /include/media/AudioSystem.h | |
parent | 0541b3bb40fa23e97e0a4599463b6afc0e271939 (diff) | |
parent | 99ad37a47628b1ea1f8981bf974de38a49c653a0 (diff) | |
download | frameworks_av-9f178e705836d9ac8de64487929732c302644bee.zip frameworks_av-9f178e705836d9ac8de64487929732c302644bee.tar.gz frameworks_av-9f178e705836d9ac8de64487929732c302644bee.tar.bz2 |
am 99ad37a4: Merge "AudioSystem: new audioflinger restart detection" into klp-dev
* commit '99ad37a47628b1ea1f8981bf974de38a49c653a0':
AudioSystem: new audioflinger restart detection
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r-- | include/media/AudioSystem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index 006af08..225ef76 100644 --- a/include/media/AudioSystem.h +++ b/include/media/AudioSystem.h @@ -252,6 +252,9 @@ public: // bit rate, duration, video and streaming or offload property is enabled static bool isOffloadSupported(const audio_offload_info_t& info); + // check presence of audio flinger service. + // returns NO_ERROR if binding to service succeeds, DEAD_OBJECT otherwise + static status_t checkAudioFlinger(); // ---------------------------------------------------------------------------- private: |