/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioEffectTest.java | 22 import android.media.audiofx.AudioEffect; 50 private AudioEffect mEffect = null; 99 AudioEffect.Descriptor[] desc = AudioEffect.queryEffects(); 109 if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_EQUALIZER)) { 111 } if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_BASS_BOOST)) { 113 } else if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_VIRTUALIZER)) { 116 else if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_ENV_REVERB)) { 154 AudioEffect.Descriptor[] desc = AudioEffect [all...] |
H A D | MediaPresetReverbTest.java | 24 import android.media.audiofx.AudioEffect; 198 AudioEffect vc = null; 212 vc = new AudioEffect( 213 AudioEffect.EFFECT_TYPE_NULL, 270 AudioEffect vc = null; 272 AudioEffect rvb = null; 283 vc = new AudioEffect( 284 AudioEffect.EFFECT_TYPE_NULL, 296 rvb = new AudioEffect( 297 AudioEffect [all...] |
H A D | MediaEnvReverbTest.java | 24 import android.media.audiofx.AudioEffect; 353 AudioEffect vc = null; 367 vc = new AudioEffect( 368 AudioEffect.EFFECT_TYPE_NULL, 427 AudioEffect vc = null; 429 AudioEffect rvb = null; 440 vc = new AudioEffect( 441 AudioEffect.EFFECT_TYPE_NULL, 453 rvb = new AudioEffect( 454 AudioEffect [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AcousticEchoCanceler.java | 38 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on 42 public class AcousticEchoCanceler extends AudioEffect { 51 return AudioEffect.isEffectTypeAvailable(AudioEffect.EFFECT_TYPE_AEC);
|
H A D | AutomaticGainControl.java | 38 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on 42 public class AutomaticGainControl extends AudioEffect { 51 return AudioEffect.isEffectTypeAvailable(AudioEffect.EFFECT_TYPE_AGC);
|
H A D | NoiseSuppressor.java | 39 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on 43 public class NoiseSuppressor extends AudioEffect { 52 return AudioEffect.isEffectTypeAvailable(AudioEffect.EFFECT_TYPE_NS);
|
H A D | LoudnessEnhancer.java | 21 import android.media.audiofx.AudioEffect; 39 public class LoudnessEnhancer extends AudioEffect { 58 * from AudioEffect super class 159 * Listener used internally to receive unformatted parameter change events from AudioEffect 162 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 166 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { 168 if (status != AudioEffect.SUCCESS) {
|
H A D | BassBoost.java | 19 import android.media.audiofx.AudioEffect; 37 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on 41 public class BassBoost extends AudioEffect { 68 * Listener used internally to to receive raw parameter change event from AudioEffect super class 163 * Listener used internally to receive unformatted parameter change events from AudioEffect 166 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 170 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) {
|
H A D | PresetReverb.java | 19 import android.media.audiofx.AudioEffect; 49 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on controlling 53 public class PresetReverb extends AudioEffect { 101 * Listener used internally to to receive raw parameter change event from AudioEffect super class 179 * Listener used internally to receive unformatted parameter change events from AudioEffect 182 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 186 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) {
|
H A D | AudioEffect.java | 33 * AudioEffect is the base class for controlling audio effects provided by the android audio 35 * <p>Applications should not use the AudioEffect class directly but one of its derived classes to 46 * the application must specify the audio session ID of that instance when creating the AudioEffect. 50 * <p>Creating an AudioEffect object will create the corresponding effect engine in the audio 53 * <p>The application creating the AudioEffect object (or a derived class) will either receive 61 public class AudioEffect { class 67 private final static String TAG = "AudioEffect-JAVA"; 137 * Null effect UUID. See {@link AudioEffect(UUID, UUID, int, int)} for use. 145 * State of an AudioEffect object that was not successfully initialized upon 151 * State of an AudioEffect objec 403 public AudioEffect(UUID type, UUID uuid, int priority, int audioSession) method in class:AudioEffect [all...] |
H A D | Virtualizer.java | 22 import android.media.audiofx.AudioEffect; 47 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on controlling 51 public class Virtualizer extends AudioEffect { 94 * Listener used internally to to receive raw parameter change event from AudioEffect super class 239 } else if (status == AudioEffect.ERROR_BAD_VALUE) { 443 } else if (status == AudioEffect.ERROR_BAD_VALUE) { 475 } else if (status == AudioEffect.ERROR_BAD_VALUE) { 505 * Listener used internally to receive unformatted parameter change events from AudioEffect 508 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 512 public void onParameterChange(AudioEffect effec [all...] |
H A D | Equalizer.java | 19 import android.media.audiofx.AudioEffect; 38 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on controlling audio 42 public class Equalizer extends AudioEffect { 113 * Listener used internally to to receive raw parameter change event from AudioEffect super class 389 * Listener used internally to receive unformatted parameter change events from AudioEffect 392 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 396 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) {
|
/frameworks/wilhelm/src/android/ |
H A D | android_Effect.h | 22 extern android::status_t android_eq_setParam(const android::sp<android::AudioEffect>& pFx, 25 extern android::status_t android_eq_getParam(const android::sp<android::AudioEffect>& pFx, 33 extern android::status_t android_bb_setParam(const android::sp<android::AudioEffect>& pFx, 36 extern android::status_t android_bb_getParam(const android::sp<android::AudioEffect>& pFx, 44 extern android::status_t android_virt_setParam(const android::sp<android::AudioEffect>& pFx, 47 extern android::status_t android_virt_getParam(const android::sp<android::AudioEffect>& pFx, 55 extern android::status_t android_prev_setPreset(const android::sp<android::AudioEffect>& pFx, 58 extern android::status_t android_prev_getPreset(const android::sp<android::AudioEffect>& pFx, 66 extern android::status_t android_erev_setParam(const android::sp<android::AudioEffect>& pFx, 69 extern android::status_t android_erev_getParam(const android::sp<android::AudioEffect> [all...] |
H A D | android_Effect.cpp | 199 android::status_t android_eq_getParam(const android::sp<android::AudioEffect>& pFx, 225 android::status_t android_eq_setParam(const android::sp<android::AudioEffect>& pFx, 248 android::status_t android_bb_setParam(const android::sp<android::AudioEffect>& pFx, 256 android::status_t android_bb_getParam(const android::sp<android::AudioEffect>& pFx, 351 android::status_t android_virt_setParam(const android::sp<android::AudioEffect>& pFx, 359 android::status_t android_virt_getParam(const android::sp<android::AudioEffect>& pFx, 387 android::status_t android_prev_setPreset(const android::sp<android::AudioEffect>& pFx, 397 android::status_t android_prev_getPreset(const android::sp<android::AudioEffect>& pFx, 427 android::status_t android_erev_setParam(const android::sp<android::AudioEffect>& pFx, 442 android::status_t android_erev_getParam(const android::sp<android::AudioEffect> [all...] |
/frameworks/av/include/media/ |
H A D | AudioEffect.h | 43 class AudioEffect : public RefBase class in namespace:android 162 * if another application requests the use of the engine by creating an AudioEffect for 164 * application having the control deletes its AudioEffect object. 173 * event: type of event notified (see enum AudioEffect::event_type). 188 * AudioEffect is the base class for creating and controlling an effect engine from 189 * the application process. Creating an AudioEffect object will create the effect engine 191 * will be used. The application creating the AudioEffect object (or a derived class like 197 * After creating the AudioEffect, the application must call the initCheck() method and 209 AudioEffect(const String16& opPackageName); 234 AudioEffect(cons [all...] |
H A D | Visualizer.h | 20 #include <media/AudioEffect.h> 55 class Visualizer: public AudioEffect { 66 * See AudioEffect constructor for details on parameters.
|
/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioEffect.h | 43 class AudioEffect : public RefBase class in namespace:android 162 * if another application requests the use of the engine by creating an AudioEffect for 164 * application having the control deletes its AudioEffect object. 173 * event: type of event notified (see enum AudioEffect::event_type). 188 * AudioEffect is the base class for creating and controlling an effect engine from 189 * the application process. Creating an AudioEffect object will create the effect engine 191 * will be used. The application creating the AudioEffect object (or a derived class like 197 * After creating the AudioEffect, the application must call the initCheck() method and 209 AudioEffect(const String16& opPackageName); 234 AudioEffect(cons [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | AudioEffect.cpp | 20 #define LOG_TAG "AudioEffect" 27 #include <media/AudioEffect.h> 38 AudioEffect::AudioEffect(const String16& opPackageName) function in class:android::AudioEffect 44 AudioEffect::AudioEffect(const effect_uuid_t *type, function in class:android::AudioEffect 58 AudioEffect::AudioEffect(const char *typeStr, function in class:android::AudioEffect 91 status_t AudioEffect::set(const effect_uuid_t *type, 176 AudioEffect [all...] |
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EffectsTest.java | 34 import android.media.audiofx.AudioEffect; 94 AudioEffect.Descriptor[] descriptors = AudioEffect.queryEffects(); 105 AudioEffect.Descriptor[] mDescriptors; 107 public EffectListAdapter(Context context, AudioEffect.Descriptor[] descriptors) { 148 AudioEffect.Descriptor[] mDescriptors; 150 public EffectView(Context context, AudioEffect.Descriptor[] descriptors) { 159 if (effectType.equals(AudioEffect.EFFECT_TYPE_VIRTUALIZER)) { 161 } else if (effectType.equals(AudioEffect.EFFECT_TYPE_ENV_REVERB)){ 163 } else if (effectType.equals(AudioEffect [all...] |
H A D | BassBoostTest.java | 42 import android.media.audiofx.AudioEffect; 191 public class EffectListner implements AudioEffect.OnEnableStatusChangeListener, 192 AudioEffect.OnControlStatusChangeListener, AudioEffect.OnParameterChangeListener 196 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { 199 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { 202 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) {
|
H A D | VirtualizerTest.java | 42 import android.media.audiofx.AudioEffect; 188 public class EffectListner implements AudioEffect.OnEnableStatusChangeListener, 189 AudioEffect.OnControlStatusChangeListener, AudioEffect.OnParameterChangeListener 193 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { 196 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { 199 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) {
|
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_AudioEffect.cpp | 26 #include "media/AudioEffect.h" 42 static const char* const kClassPathName = "android/media/audiofx/AudioEffect"; 46 jclass clazzEffect; // AudioEffect class 48 jfieldID fidNativeAudioEffect; // stores in Java the native AudioEffect object 49 jfieldID fidJniData; // stores in Java additional resources used by the native AudioEffect 50 jclass clazzDesc; // AudioEffect.Descriptor class 51 jmethodID midDescCstor; // AudioEffect.Descriptor class constructor 56 jclass audioEffect_class; // AudioEffect class 57 jobject audioEffect_ref; // AudioEffect object instance 124 case AudioEffect [all...] |
/frameworks/wilhelm/src/ |
H A D | itfstruct.h | 21 #include "media/AudioEffect.h" 225 android::sp<android::AudioEffect> mBassBoostEffect; 323 android::sp<android::AudioEffect> mEnvironmentalReverbEffect; 358 android::sp<android::AudioEffect> mEqEffect; 521 android::sp<android::AudioEffect> mPresetReverbEffect; 579 android::sp<android::AudioEffect> mVirtualizerEffect; 645 android::KeyedVector<SLuint32, android::sp<android::AudioEffect> > *mEffects; 689 android::sp<android::AudioEffect> mAECEffect; 697 android::sp<android::AudioEffect> mAGCEffect; 705 android::sp<android::AudioEffect> mNSEffec [all...] |
/frameworks/av/media/libmedia/include/media/ |
H A D | Visualizer.h | 20 #include <media/AudioEffect.h> 55 class Visualizer: public AudioEffect { 66 * See AudioEffect constructor for details on parameters.
|
/frameworks/wilhelm/src/itf/ |
H A D | IAcousticEchoCancellation.cpp | 84 (void) new (&thiz->mAECEffect) android::sp<android::AudioEffect>();
|