OSDN Git Service

AudioTrack: Enable deep buffer under certain conditions
authorAndy Hung <hunga@google.com>
Wed, 1 Feb 2017 03:27:04 +0000 (19:27 -0800)
committerAndy Hung <hunga@google.com>
Fri, 3 Feb 2017 17:18:34 +0000 (09:18 -0800)
commit9025cc090bf9fcb78f4417a63e24e41c8ea41dc0
tree8a3236c9b058f9516aaabbe2e753fd42115d0530
parente9b8348027074996b08796816e0ce0998169a881
AudioTrack: Enable deep buffer under certain conditions

Under certain conditions, i.e. USAGE_MEDIA and
CONTENT_TYPE UNKNOWN, MUSIC, MOVIE and large buffers
we route the AudioTrack to deep buffer to save power.

Change-Id: Ibc8a31750999da842e36156f939448989ee50511
Test: Play Movies, CTS
Bug: 30687201
media/java/android/media/AudioTrack.java