Loading media/libmedia/AudioRecord.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -924,7 +924,7 @@ nsecs_t AudioRecord::processAudioBuffer() int32_t tryCounter = kMaxTries; uint32_t pollUs = 10000; do { int policy = sched_getscheduler(0); int policy = sched_getscheduler(0) & ~SCHED_RESET_ON_FORK; if (policy == SCHED_FIFO || policy == SCHED_RR) { break; } Loading media/libmedia/AudioTrack.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1777,7 +1777,7 @@ nsecs_t AudioTrack::processAudioBuffer() int32_t tryCounter = kMaxTries; uint32_t pollUs = 10000; do { int policy = sched_getscheduler(0); int policy = sched_getscheduler(0) & ~SCHED_RESET_ON_FORK; if (policy == SCHED_FIFO || policy == SCHED_RR) { break; } Loading services/audioflinger/FastThread.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -167,7 +167,7 @@ bool FastThread::threadLoop() if (old <= 0) { syscall(__NR_futex, coldFutexAddr, FUTEX_WAIT_PRIVATE, old - 1, NULL); } int policy = sched_getscheduler(0); int policy = sched_getscheduler(0) & ~SCHED_RESET_ON_FORK; if (!(policy == SCHED_FIFO || policy == SCHED_RR)) { ALOGE("did not receive expected priority boost"); } Loading Loading
media/libmedia/AudioRecord.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -924,7 +924,7 @@ nsecs_t AudioRecord::processAudioBuffer() int32_t tryCounter = kMaxTries; uint32_t pollUs = 10000; do { int policy = sched_getscheduler(0); int policy = sched_getscheduler(0) & ~SCHED_RESET_ON_FORK; if (policy == SCHED_FIFO || policy == SCHED_RR) { break; } Loading
media/libmedia/AudioTrack.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1777,7 +1777,7 @@ nsecs_t AudioTrack::processAudioBuffer() int32_t tryCounter = kMaxTries; uint32_t pollUs = 10000; do { int policy = sched_getscheduler(0); int policy = sched_getscheduler(0) & ~SCHED_RESET_ON_FORK; if (policy == SCHED_FIFO || policy == SCHED_RR) { break; } Loading
services/audioflinger/FastThread.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -167,7 +167,7 @@ bool FastThread::threadLoop() if (old <= 0) { syscall(__NR_futex, coldFutexAddr, FUTEX_WAIT_PRIVATE, old - 1, NULL); } int policy = sched_getscheduler(0); int policy = sched_getscheduler(0) & ~SCHED_RESET_ON_FORK; if (!(policy == SCHED_FIFO || policy == SCHED_RR)) { ALOGE("did not receive expected priority boost"); } Loading