summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-05-09 16:26:45 -0700
committerMathias Agopian <mathias@google.com>2013-05-09 16:52:19 -0700
commite762be91c3280d837b1d48455cba90459ced7511 (patch)
tree38e44c614bea2a8f819a935527d4442a100741f8 /services/audioflinger/AudioFlinger.h
parentdfb6ca555f3b77baa3f18c4dbbc20c644778e60f (diff)
downloadframeworks_av-e762be91c3280d837b1d48455cba90459ced7511.zip
frameworks_av-e762be91c3280d837b1d48455cba90459ced7511.tar.gz
frameworks_av-e762be91c3280d837b1d48455cba90459ced7511.tar.bz2
make libaudioflinger symbols visibility hidden
we export only symbols needed by clients of this library. this saves about 130KB (1/3rd of the lib size) Change-Id: Id81f3ecb299ee3abc0811915cf6efe87180bf15c
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r--services/audioflinger/AudioFlinger.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index b0efef6..cf68848 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -24,6 +24,8 @@
#include <common_time/cc_helper.h>
+#include <cutils/compiler.h>
+
#include <media/IAudioFlinger.h>
#include <media/IAudioFlingerClient.h>
#include <media/IAudioTrack.h>
@@ -89,7 +91,7 @@ class AudioFlinger :
{
friend class BinderService<AudioFlinger>; // for AudioFlinger()
public:
- static const char* getServiceName() { return "media.audio_flinger"; }
+ static const char* getServiceName() ANDROID_API { return "media.audio_flinger"; }
virtual status_t dump(int fd, const Vector<String16>& args);
@@ -278,7 +280,7 @@ private:
bool btNrecIsOff() const { return mBtNrecIsOff; }
- AudioFlinger();
+ AudioFlinger() ANDROID_API;
virtual ~AudioFlinger();
// call in any IAudioFlinger method that accesses mPrimaryHardwareDev