summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-03-23 15:35:48 -0700
committerEric Laurent <elaurent@google.com>2012-03-26 11:05:25 -0700
commitb4605663882a9472b2e8915c851de899b14a27a5 (patch)
tree7b1afad2be9db1f46821f0f76881b75babbc3331 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent2e842a58ebbc3a8a0599dfb0c19d7cda7ed21e5f (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
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions