OSDN Git Service

Fix aux reverb issues:
authorJean-Michel Trivi <jmtrivi@google.com>
Thu, 9 Sep 2010 00:56:50 +0000 (17:56 -0700)
committerJean-Michel Trivi <jmtrivi@google.com>
Thu, 9 Sep 2010 17:36:40 +0000 (10:36 -0700)
commit4ad709bd796914d15a32a35da92b5f39047f5a02
tree27f32b90c4994af5976873193b14421b1ee94883
parentc098881f535d11d1a936cd70a061e60bdbd6928f
Fix aux reverb issues:

- when creating an effect, only pass the effect type to the
 AudioEffect framework so it selects whether to use an insert
 or aux effect based on the session.
- SL ES aux reverb effects don't have an explicit SetEnabled()
 function, so enable the effect upon creation, or based on the
preset for the preset reverb effect.

Add a test for SLEffectSend.

Change-Id: I683331cac19cf1fb9628d636569ab3d342c02820
opensles/libopensles/android_Effect.cpp
opensles/libopensles/android_Effect.h
opensles/tests/examples/Android.mk_
opensles/tests/examples/slesTestBassBoostPath.cpp
opensles/tests/examples/slesTestSendToPresetReverb.cpp [new file with mode: 0644]