diff options
author | Eric Laurent <elaurent@google.com> | 2014-11-21 00:43:58 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-21 00:43:58 +0000 |
commit | c9769c557e202df671e35196c8c735b49257be7d (patch) | |
tree | 1a3eac103aea7f8357756241cbe83095ce4dddb5 /include | |
parent | d0e12a161471823d1ab269cb608be3f3b0a71ed1 (diff) | |
parent | 568689b169d8b0ae2cc252b88602db5e5acaa604 (diff) | |
download | frameworks_av-c9769c557e202df671e35196c8c735b49257be7d.zip frameworks_av-c9769c557e202df671e35196c8c735b49257be7d.tar.gz frameworks_av-c9769c557e202df671e35196c8c735b49257be7d.tar.bz2 |
am 568689b1: am 3a2a32b5: Merge "AudioSystem: fix cross deadlock" into lmp-mr1-dev
* commit '568689b169d8b0ae2cc252b88602db5e5acaa604':
AudioSystem: fix cross deadlock
Diffstat (limited to 'include')
-rw-r--r-- | include/media/AudioSystem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index d54eca7..1614525 100644 --- a/include/media/AudioSystem.h +++ b/include/media/AudioSystem.h @@ -90,7 +90,7 @@ public: static void setErrorCallback(audio_error_callback cb); // helper function to obtain AudioFlinger service handle - static const sp<IAudioFlinger>& get_audio_flinger(); + static const sp<IAudioFlinger> get_audio_flinger(); static float linearToLog(int volume); static int logToLinear(float volume); @@ -270,7 +270,7 @@ public: // and output configuration cache (gOutputs) static void clearAudioConfigCache(); - static const sp<IAudioPolicyService>& get_audio_policy_service(); + static const sp<IAudioPolicyService> get_audio_policy_service(); // helpers for android.media.AudioManager.getProperty(), see description there for meaning static uint32_t getPrimaryOutputSamplingRate(); |