diff options
author | Eric Laurent <elaurent@google.com> | 2010-11-18 08:40:16 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2010-11-19 15:49:42 -0800 |
commit | f3d6dd0782e3135885efdc26cb86cf0bf811749f (patch) | |
tree | bff3e49ad215f9573b7b89990e974a944d4c4a98 /services/audioflinger/AudioFlinger.h | |
parent | 9c950b41c5531e6735f3d13f5b46ae89d59b3b8c (diff) | |
download | frameworks_base-f3d6dd0782e3135885efdc26cb86cf0bf811749f.zip frameworks_base-f3d6dd0782e3135885efdc26cb86cf0bf811749f.tar.gz frameworks_base-f3d6dd0782e3135885efdc26cb86cf0bf811749f.tar.bz2 |
Fix issue 3157123.
Use a Mutex wherever atomic operations were used in AudioTrack,
AudioRecord, AudioFlinger and AudioEffect classes.
Change-Id: I6f55b2cabdcd93d64ef19446735b8f33720f8dbc
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index 5917632..f0ef867 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -785,7 +785,7 @@ private: float streamVolumeInternal(int stream) const { return mStreamTypes[stream].volume; } void audioConfigChanged_l(int event, int ioHandle, void *param2); - int nextUniqueId(); + int nextUniqueId_l(); status_t moveEffectChain_l(int session, AudioFlinger::PlaybackThread *srcThread, AudioFlinger::PlaybackThread *dstThread, |