summaryrefslogtreecommitdiffstats
path: root/include/media/AudioSystem.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-08-19 18:19:28 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-19 18:19:28 -0700
commitd6a2f3f03197998f44374e68ba1d838a7ebb180d (patch)
tree84d5ebd4e94ba3bf449525685b601b3546d8e3ce /include/media/AudioSystem.h
parent61bd7a0281ffecb99b27bff63334c559df7357e6 (diff)
parent9f178e705836d9ac8de64487929732c302644bee (diff)
downloadframeworks_av-d6a2f3f03197998f44374e68ba1d838a7ebb180d.zip
frameworks_av-d6a2f3f03197998f44374e68ba1d838a7ebb180d.tar.gz
frameworks_av-d6a2f3f03197998f44374e68ba1d838a7ebb180d.tar.bz2
am 9f178e70: am 99ad37a4: Merge "AudioSystem: new audioflinger restart detection" into klp-dev
* commit '9f178e705836d9ac8de64487929732c302644bee': 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 77f7d9a..b96b8a1 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -253,6 +253,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: