OSDN Git Service

AudioTrack: extend callback thread sleep time
authorEric Laurent <elaurent@google.com>
Wed, 7 Sep 2011 18:13:23 +0000 (11:13 -0700)
committerEric Laurent <elaurent@google.com>
Thu, 8 Sep 2011 22:18:37 +0000 (15:18 -0700)
commit2267ba18d0d2b2d4bd7f5411821ad89ac2659a88
tree3339791f7085faf94b891071826d8a1be5d1cb17
parent74a0a0d7f766d63330a00c3fa8f133c44c1d5be6
AudioTrack: extend callback thread sleep time

Do not force wake up the AudioTrack thread every 10ms if no timed
events (loop, markers..) have to be processed.
This will help reduce power consumption.

Change-Id: Icb425b13800690008dd07c27ffac84739e3dbba3
media/libmedia/AudioTrack.cpp