summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-08-20 01:10:47 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-20 01:10:47 +0000
commit99ad37a47628b1ea1f8981bf974de38a49c653a0 (patch)
tree46f706a02fafc56c599a203d3f3bcdaf53835215 /include
parentc8b226f4f5a0740f473d4d14e050a34a329517e7 (diff)
parent46291616486979986cba3ab83e894728ef53063f (diff)
downloadframeworks_av-99ad37a47628b1ea1f8981bf974de38a49c653a0.zip
frameworks_av-99ad37a47628b1ea1f8981bf974de38a49c653a0.tar.gz
frameworks_av-99ad37a47628b1ea1f8981bf974de38a49c653a0.tar.bz2
Merge "AudioSystem: new audioflinger restart detection" into klp-dev
Diffstat (limited to 'include')
-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: