summaryrefslogtreecommitdiffstats
path: root/include/media/AudioSystem.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-08-19 18:16:49 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-19 18:16:49 -0700
commit9f178e705836d9ac8de64487929732c302644bee (patch)
treea40bcf348468c1d29a2636abf639011585127f8d /include/media/AudioSystem.h
parent0541b3bb40fa23e97e0a4599463b6afc0e271939 (diff)
parent99ad37a47628b1ea1f8981bf974de38a49c653a0 (diff)
downloadframeworks_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.h3
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: