OSDN Git Service

more support for audio effect offload
authorEric Laurent <elaurent@google.com>
Fri, 13 Sep 2013 00:37:00 +0000 (17:37 -0700)
committerEric Laurent <elaurent@google.com>
Wed, 18 Sep 2013 18:52:40 +0000 (11:52 -0700)
commit5baf2af52cd186633b7173196c1e4a4cd3435f22
tree9c6752456812c4a927574a71e1d2ec2495ff6ce3
parent9a98b6de791aeb130192df10744f5b35f8b6ef1a
more support for audio effect offload

Offloading of audio effects is now enabled for offloaded
output threads. If an effect not supporting offload is enabled,
the AudioTrack is invalidated so that it can be recreated in PCM
mode.

Fix some issues in effect proxy related to handling of effect
commands to offloaded and non offloaded effects.

Also fixed a bug on capture index in software Visualizer effect.

Bug: 8174034.

Change-Id: Ib23d3c2d5a652361b0aaec7faee09102f2b18fce
media/libeffects/proxy/EffectProxy.cpp
media/libeffects/visualizer/EffectVisualizer.cpp
services/audioflinger/AudioFlinger.cpp
services/audioflinger/AudioFlinger.h
services/audioflinger/Effects.cpp
services/audioflinger/Effects.h
services/audioflinger/Threads.cpp
services/audioflinger/Tracks.cpp