commit | 8b3f315e7a85989b200b8678f6d82ae45ad5c810 | [log] [tgz] |
---|---|---|
author | Philip Cuadra <philipcuadra@google.com> | Thu Apr 20 16:02:48 2017 -0700 |
committer | Philip Cuadra <philipcuadra@google.com> | Tue Apr 25 16:15:40 2017 -0700 |
tree | 70bbea385389f87415c38701f3a9a07b6161974f | |
parent | 12d67e3c7a9b8caaf2ec4d74598aca9f35405e84 [diff] |
Make BT HAL audio threads RT Bluetooth threads that are used in audio have deadline requirements for glitchless playback. Those threads need to be scheduled as RT tasks to ensure that they can meet the deadline even if there is high system load. Use schedulerservice to request RT scheduling. Bug 37518404 Test: play Bluetooth audio, check for RT with systrace Change-Id: I043a97df3d2801922b54dcbf7c700ae11a48c217