diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2012-04-15 17:15:07 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2012-04-18 18:27:39 -0700 |
commit | 3476de62fb10e76412452ef4c6bd71936c9f7db1 (patch) | |
tree | 9c814922fd33670a7cdd23c9597cbd19ad5e1ef9 /drm | |
parent | fbe308d428e42fe249ec317f76e3d11feb3264d5 (diff) | |
download | frameworks_av-3476de62fb10e76412452ef4c6bd71936c9f7db1.zip frameworks_av-3476de62fb10e76412452ef4c6bd71936c9f7db1.tar.gz frameworks_av-3476de62fb10e76412452ef4c6bd71936c9f7db1.tar.bz2 |
Add support for scaling mode parameter
Support VISUALIZER_PARAM__SCALING_MODE parameter.
Modify process() function to use new volume scaling parameter,
used to set whether captured values are maximized by current
headroom in the buffer (default existing behaviora) or left
as is and thus affected by volume.
Modify AudioEffect to allow subclasses to override the following
events: control status changed, enable status changed, command
executed.
In Visualizer class (a subclass of AudioEffect), reset the
scaling mode and capture size on the actual effect
as cached when control is regained.
This will allow the effect to be properly
configured whenever Visualizers with different scaling
modes or capture sizes are released (e.g. from java
release() method).
Change-Id: I05cb9f925a296dceca91bafa9fe294ef2b2c2bd5
Diffstat (limited to 'drm')
0 files changed, 0 insertions, 0 deletions