diff options
author | Eric Laurent <elaurent@google.com> | 2012-03-23 15:35:48 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2012-03-26 11:05:25 -0700 |
commit | 183dc7772d7eba127aab63829c7ca0359d817593 (patch) | |
tree | 1966c3817b8064f8bf3f30590afba5739ef265f3 /include | |
parent | 529127450abdeddf5d2467c7973e779a6b1376ea (diff) | |
download | frameworks_av-183dc7772d7eba127aab63829c7ca0359d817593.zip frameworks_av-183dc7772d7eba127aab63829c7ca0359d817593.tar.gz frameworks_av-183dc7772d7eba127aab63829c7ca0359d817593.tar.bz2 |
fix visualizer inactivity detection
Current method implemented by the visualizer to detect that audioflinger has
stopped providing audio buffers does not work if the application
reads pcm captures too fast.
The fix consist in implementing a method based on real time measurement only.
One drawback is that the new method makes use of system calls that add some
overhead to the process and capture functions.
Change-Id: I53bd596b856f1cc7f0f47e08413af3335227100b
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions