summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsProgramVertex.cpp
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2010-01-12 09:23:54 -0800
committerMarco Nelissen <marcone@google.com>2010-01-12 10:27:04 -0800
commite274db1efd73ec8444fa70b64a226d2efa71af87 (patch)
tree9a7e61105361f837d9bbfcc564b68090e97439c6 /libs/rs/rsProgramVertex.cpp
parentaee3c6394a367abf283936cb8b8bd85ed028c050 (diff)
downloadframeworks_base-e274db1efd73ec8444fa70b64a226d2efa71af87.zip
frameworks_base-e274db1efd73ec8444fa70b64a226d2efa71af87.tar.gz
frameworks_base-e274db1efd73ec8444fa70b64a226d2efa71af87.tar.bz2
b/2353646
Fix music visualizations to also work with audiotrack callbacks, which stagefright uses. This slightly changes the way the data is stored, since before we were relying on the buffers being written always being at least 4K, whereas the callbacks are generally for smaller amounts of data. Now we append all the data to a big circular buffer, then return chunks of that buffer for visualization. When there are multiple things playing at the same time, this will give the wrong result, but (1) that was the case before as well, and (2) will be fixed once we start visualizing the mixer output instead of the mixer inputs.
Diffstat (limited to 'libs/rs/rsProgramVertex.cpp')
0 files changed, 0 insertions, 0 deletions