diff options
author | Eric Laurent <elaurent@google.com> | 2014-04-18 17:40:41 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-06-04 15:34:20 -0700 |
commit | b7a11d83f749ad0200778c4815e907d011d4b5d3 (patch) | |
tree | 28c744c0e8fe9c1f198ddd0999b4c5d95de9610a /media/mediaserver | |
parent | 24c01a8417fe195e5ba2187dbbdf9bd1e3a6553f (diff) | |
download | frameworks_av-b7a11d83f749ad0200778c4815e907d011d4b5d3.zip frameworks_av-b7a11d83f749ad0200778c4815e907d011d4b5d3.tar.gz frameworks_av-b7a11d83f749ad0200778c4815e907d011d4b5d3.tar.bz2 |
add sound trigger native service
Change-Id: I0cd954c1c7d28a334e786d0004431d4f6a1227ec
Diffstat (limited to 'media/mediaserver')
-rw-r--r-- | media/mediaserver/Android.mk | 6 | ||||
-rw-r--r-- | media/mediaserver/main_mediaserver.cpp | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/media/mediaserver/Android.mk b/media/mediaserver/Android.mk index 786bf0d..3a280f0 100644 --- a/media/mediaserver/Android.mk +++ b/media/mediaserver/Android.mk @@ -25,7 +25,8 @@ LOCAL_SHARED_LIBRARIES := \ libmediaplayerservice \ libutils \ liblog \ - libbinder + libbinder \ + libsoundtriggerservice LOCAL_STATIC_LIBRARIES := \ libregistermsext @@ -36,7 +37,8 @@ LOCAL_C_INCLUDES := \ frameworks/av/services/audioflinger \ frameworks/av/services/audiopolicy \ frameworks/av/services/camera/libcameraservice \ - $(call include-path-for, audio-utils) + $(call include-path-for, audio-utils) \ + frameworks/av/services/soundtrigger LOCAL_MODULE:= mediaserver LOCAL_32_BIT_ONLY := true diff --git a/media/mediaserver/main_mediaserver.cpp b/media/mediaserver/main_mediaserver.cpp index a347951..af1c9e6 100644 --- a/media/mediaserver/main_mediaserver.cpp +++ b/media/mediaserver/main_mediaserver.cpp @@ -34,6 +34,7 @@ #include "MediaLogService.h" #include "MediaPlayerService.h" #include "AudioPolicyService.h" +#include "SoundTriggerHwService.h" using namespace android; @@ -128,6 +129,7 @@ int main(int argc __unused, char** argv) MediaPlayerService::instantiate(); CameraService::instantiate(); AudioPolicyService::instantiate(); + SoundTriggerHwService::instantiate(); registerExtensions(); ProcessState::self()->startThreadPool(); IPCThreadState::self()->joinThreadPool(); |