commit | b4605663882a9472b2e8915c851de899b14a27a5 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Mar 23 15:35:48 2012 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Mar 26 11:05:25 2012 -0700 |
tree | 7b1afad2be9db1f46821f0f76881b75babbc3331 | |
parent | 2e842a58ebbc3a8a0599dfb0c19d7cda7ed21e5f [diff] |
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