-diff --git frameworks/av/services/audioflinger/Android.mk  frameworks/av/services/audioflinger/Android.mk
+diff --git a/frameworks/av/services/audioflinger/Android.mk  a/frameworks/av/services/audioflinger/Android.mk
 index 54377f1..96aa9e7 100644
----  frameworks/av/services/audioflinger/Android.mk
-+++  frameworks/av/services/audioflinger/Android.mk
+---  a/frameworks/av/services/audioflinger/Android.mk
++++  a/frameworks/av/services/audioflinger/Android.mk
 @@ -64,6 +64,10 @@ else
      LOCAL_CFLAGS += -DANDROID_SMP=0
  endif

     virtual audio_io_handle_t openOutput(audio_module_handle_t module,
                                          audio_devices_t *pDevices,
                                          uint32_t *pSamplingRate,
diff --git frameworks/av/services/audioflinger/AudioPolicyService.cpp  frameworks/av/services/audioflinger/AudioPolicyService.cpp
index 7f40812..ffd96c6 100644
---  frameworks/av/services/audioflinger/AudioPolicyService.cpp
+++  frameworks/av/services/audioflinger/AudioPolicyService.cpp
@@ -1148,6 +1148,12 @@ int AudioPolicyService::setVoiceVolume(float volume, int delayMs)
     return (int)mAudioCommandThread->voiceVolumeCommand(volume, delayMs);
 }

 LOCAL_CFLAGS += -fvisibility=hidden
 
 include $(BUILD_SHARED_LIBRARY)
diff --git a/frameworks/av/services/audioflinger/AudioFlinger.cpp  a/frameworks/av/services/audioflinger/AudioFlinger.cpp
index dd47cf6..031fe4a 100644
---  a/frameworks/av/services/audioflinger/AudioFlinger.cpp
+++  a/frameworks/av/services/audioflinger/AudioFlinger.cpp
@@ -1454,6 +1454,20 @@ status_t AudioFlinger::setLowRamDevice(bool isLowRamDevice)
 
 // ----------------------------------------------------------------------------
