From 3a7af3aaa9226c73214b1c8b566f8f753fb69aa7 Mon Sep 17 00:00:00 2001 From: Clay Murphy Date: Tue, 9 Sep 2014 17:29:09 -0700 Subject: Docs: Fixing text in Devices section of site. Bug: 15729967 Change-Id: I1f9ef5fb24957a1838d821e0ef579135355b9db6 --- src/devices/audio_avoiding_pi.jd | 39 ++++++++---------- src/devices/audio_debugging.jd | 54 ++++++++++++------------ src/devices/audio_implement.jd | 2 +- src/devices/audio_src.jd | 45 +------------------- src/devices/audio_terminology.jd | 88 ++++++++++++++++++++++++++++------------ src/devices/audio_warmup.jd | 2 +- src/devices/devices_toc.cs | 2 +- src/devices/index.jd | 2 +- src/devices/latency_design.jd | 12 +++--- 9 files changed, 117 insertions(+), 129 deletions(-) diff --git a/src/devices/audio_avoiding_pi.jd b/src/devices/audio_avoiding_pi.jd index a8cd208c..49b901e8 100644 --- a/src/devices/audio_avoiding_pi.jd +++ b/src/devices/audio_avoiding_pi.jd @@ -42,14 +42,14 @@ allows the audio buffer sizes and counts to be reduced while still avoiding artifacts due to underruns.

-

Priority Inversion

+

Priority inversion

Priority inversion is a classic failure mode of real-time systems, where a higher-priority task is blocked for an unbounded time waiting -for a lower-priority task to release a resource such as [shared -state protected by] a +for a lower-priority task to release a resource such as (shared +state protected by) a mutex.

@@ -64,7 +64,7 @@ are used, or delay in responding to a command.

In the Android audio implementation, priority inversion is most -likely to occur in these places. And so we focus attention here: +likely to occur in these places. And so you should focus your attention here: