diff options
author | Elliott Hughes <enh@google.com> | 2014-05-21 17:55:51 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-05-21 18:15:33 -0700 |
commit | ee499291404a192b059f2e04c5afc65aa6cdd74c (patch) | |
tree | 1c1537b599b21c331b15493f776adcbff307ac2f /services/audioflinger/FastMixer.cpp | |
parent | d084206d5a4a5364211af46e4201311933e83bfc (diff) | |
download | frameworks_av-ee499291404a192b059f2e04c5afc65aa6cdd74c.zip frameworks_av-ee499291404a192b059f2e04c5afc65aa6cdd74c.tar.gz frameworks_av-ee499291404a192b059f2e04c5afc65aa6cdd74c.tar.bz2 |
Move frameworks/av off private API.
Bug: 11156955
Change-Id: Ib3bb9d66a2bf92977c2445b62aa074a2d7a45aea
Diffstat (limited to 'services/audioflinger/FastMixer.cpp')
-rw-r--r-- | services/audioflinger/FastMixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp index 85d637e..3a3df54 100644 --- a/services/audioflinger/FastMixer.cpp +++ b/services/audioflinger/FastMixer.cpp @@ -179,7 +179,7 @@ bool FastMixer::threadLoop() ALOG_ASSERT(coldFutexAddr != NULL); int32_t old = android_atomic_dec(coldFutexAddr); if (old <= 0) { - __futex_syscall4(coldFutexAddr, FUTEX_WAIT_PRIVATE, old - 1, NULL); + (void) syscall(__NR_futex, coldFutexAddr, FUTEX_WAIT_PRIVATE, old - 1); } int policy = sched_getscheduler(0); if (!(policy == SCHED_FIFO || policy == SCHED_RR)) { |