am 1ece7d68: am 2a6b80bc: Fixed several audio effects problems.

Merge commit '1ece7d6873027068a3e7b055597045e9387b217c'

* commit '1ece7d6873027068a3e7b055597045e9387b217c':
  Fixed several audio effects problems.
This commit is contained in:
Eric Laurent
2010-08-09 20:00:11 -07:00
committed by Android Git Automerger
4 changed files with 39 additions and 18 deletions

View File

@@ -101,15 +101,15 @@ public class AudioEffect {
public static final int STATE_INITIALIZED = 1;
// to keep in sync with
// frameworks/base/media/jni/audioeffect/android_media_AudioEffect.cpp
/**
* Event id for engine state change notification.
*/
public static final int NATIVE_EVENT_ENABLED_STATUS = 0;
// frameworks/base/include/media/AudioEffect.h
/**
* Event id for engine control ownership change notification.
*/
public static final int NATIVE_EVENT_CONTROL_STATUS = 1;
public static final int NATIVE_EVENT_CONTROL_STATUS = 0;
/**
* Event id for engine state change notification.
*/
public static final int NATIVE_EVENT_ENABLED_STATUS = 1;
/**
* Event id for engine parameter change notification.
*/
@@ -795,7 +795,7 @@ public class AudioEffect {
// Interface definitions
// --------------------
/**
* The OnParameterChangeListener interface defines a method called by the AudioEffect
* The OnEnableStatusChangeListener interface defines a method called by the AudioEffect
* when a the enabled state of the effect engine was changed by the controlling application.
*/
public interface OnEnableStatusChangeListener {
@@ -922,7 +922,6 @@ public class AudioEffect {
if (effect == null) {
return;
}
if (effect.mNativeEventHandler != null) {
Message m = effect.mNativeEventHandler.obtainMessage(what, arg1,
arg2, obj);