/frameworks/wilhelm/src/itf/ |
H A D | IPresetReverb.c | 30 static SLresult IPresetReverb_SetPreset(SLPresetReverbItf self, SLuint16 preset) argument 35 switch (preset) { 44 thiz->mPreset = preset; 51 android::status_t status = android_prev_setPreset(thiz->mPresetReverbEffect, preset); 74 SLuint16 preset = SL_REVERBPRESET_NONE; local 76 preset = thiz->mPreset; 80 preset = thiz->mPreset; 83 android::status_t status = android_prev_getPreset(thiz->mPresetReverbEffect, &preset); 92 *pPreset = preset;
|
H A D | IEqualizer.c | 349 SLuint16 preset = thiz->mPreset; local 351 *pPreset = preset; 354 uint16_t preset = 0; local 359 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_CUR_PRESET, 0, &preset); 364 if (preset < 0) { 367 *pPreset = (SLuint16) preset; 447 // FIXME query preset name rather than retrieve it from the engine.
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | PresetReverb.java | 40 * The PresetReverb class allows an application to configure the global reverb using a reverb preset. 79 * Reverb preset representing a small room less than five meters in length 83 * Reverb preset representing a medium room with a length of ten meters or less 87 * Reverb preset representing a large-sized room suitable for live performances 91 * Reverb preset representing a medium-sized hall 95 * Reverb preset representing a large-sized hall suitable for a full orchestra 99 * Reverb preset representing a synthesis of the traditional plate reverb 140 * Enables a preset on the reverb. 144 * @param preset this must be one of the the preset constant 150 setPreset(short preset) argument 239 public short preset; field in class:PresetReverb.Settings [all...] |
H A D | Equalizer.java | 82 * Current preset. Parameter ID for OnParameterChangeListener 90 * Request preset name. Parameter ID for OnParameterChangeListener 96 * Maximum size for preset name 169 Log.e(TAG, "preset name decode error"); 318 * Gets current preset. 319 * @return the preset that is set at the moment. 332 * Sets the equalizer according to the given preset. 333 * @param preset new preset that will be taken into use. The valid range is [0, 340 public void usePreset(short preset) argument 368 getPresetName(short preset) argument [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioEqualizer.cpp | 186 const char * AudioEqualizer::getPresetName(int preset) const { 187 assert(preset < mNumPresets && preset >= PRESET_CUSTOM); 188 if (preset == PRESET_CUSTOM) { 191 return mpPresets[preset].name; 203 void AudioEqualizer::setPreset(int preset) { argument 204 ALOGV("AudioEqualizer::setPreset(preset=%d)", preset); 205 assert(preset < mNumPresets && preset > [all...] |
H A D | AudioEqualizer.h | 53 // This value is used when requesting current preset, and EQ is not using a 54 // preset. 72 // client is required not to call preset-related functions. 152 // Gets a human-readable name for a preset ID. Will return "Custom" if 154 // preset The preset ID. Must be less than number of presets. 155 const char * getPresetName(int preset) const; 160 // Gets the currently set preset ID. 162 // manually since a preset was set. 165 // Sets the current preset b [all...] |
H A D | EffectEqualizer.cpp | 490 ALOGV("Equalizer_getParameter() EQ_PARAM_GET_PRESET_NAME preset %d, name %s len %d", 535 int32_t preset; local 543 preset = (int32_t)(*(uint16_t *)pValue); 545 ALOGV("setParameter() EQ_PARAM_CUR_PRESET %d", preset); 546 if (preset < 0 || preset >= pEqualizer->getNumPresets()) { 550 pEqualizer->setPreset(preset);
|
H A D | EffectReverb.c | 59 // Google auxiliary preset reverb UUID: 63909320-53a6-11df-bdbd-0002a5d5c51b 71 // Google insert preset reverb UUID: d93dc6a0-6342-11df-b128-0002a5d5c51b 106 int preset = 0; local 133 preset = 1; 138 ret = Reverb_Init(module, aux, preset); 216 //if bypassed or the preset forces the signal to be completely dry 444 * preset - indicates if the reverb is used in preset (1) or environmental (0) mode 453 int Reverb_Init(reverb_module_t *pRvbModule, int aux, int preset) { argument 456 ALOGV("Reverb_Init module %p, aux: %d, preset 2016 int preset; local [all...] |
H A D | EffectReverb.h | 88 #define REVERB_DEFAULT_ROOM_NUMBER 1 // default preset number 254 int16_t m_nCurrentRoom; // preset number for current room 256 int16_t m_nNextRoom; // preset number for next room 276 //int8_t preset; 286 uint16_t m_Preset; // if TRUE, expose preset revert interface 328 int Reverb_Init(reverb_module_t *pRvbModule, int aux, int preset); 417 * Purpose: sets global reverb preset bank to defaults 432 * Update the room's preset parameters as required
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEqFdPath.cpp | 199 SLuint16 nbPresets, preset, nbBands = 0; local 204 /* Start from a preset */ 205 preset = nbPresets > 2 ? 2 : 0; 206 result = (*eqItf)->UsePreset(eqItf, preset); 208 preset = 1977; 209 result = (*eqItf)->GetCurrentPreset(eqItf, &preset); 211 if (SL_EQUALIZER_UNDEFINED == preset) { 212 fprintf(stderr, "Using SL_EQUALIZER_UNDEFINED preset, unexpected here!\n"); 214 fprintf(stdout, "Using preset %d\n", preset); [all...] |
H A D | slesTestEqOutputPath.cpp | 203 SLuint16 nbPresets, preset, nbBands = 0; local 208 /* Start from a preset */ 209 preset = nbPresets > 2 ? 2 : 0; 210 result = (*eqOutputItf)->UsePreset(eqOutputItf, preset); 212 preset = 1977; 213 result = (*eqOutputItf)->GetCurrentPreset(eqOutputItf, &preset); 215 if (SL_EQUALIZER_UNDEFINED == preset) { 216 fprintf(stderr, "Using SL_EQUALIZER_UNDEFINED preset, unexpected here!\n"); 218 fprintf(stdout, "Using preset %d\n", preset); [all...] |
H A D | slesTestSendToPresetReverb.cpp | 73 void TestSendToPresetReverb( SLObjectItf sl, const char* path, int preset, SLmillibel directLevel, argument 141 /* Select the reverb preset */ 142 fprintf(stdout, "\nUsing preset "); 143 switch(preset) { 156 result = (*reverbItf)->SetPreset(reverbItf, preset); 282 /* Disable preset reverb every TIME_S_BETWEEN_SETTING_CHANGE seconds unless always on */ 293 result = (*reverbItf)->SetPreset(reverbItf, enabled ? preset : SL_REVERBPRESET_NONE); 294 fprintf(stdout, "SetPreset(%d)=%d\n", enabled ? preset : SL_REVERBPRESET_NONE, result); 362 fprintf(stdout, "Usage: \t%s [--always-on] [--fd] [--loop] path preset directLevel "
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 101 // NXP SW auxiliary preset reverb 113 // NXP SW insert preset reverb 153 bool preset; member in struct:android::__anon477::ReverbContext 232 pContext->preset = false; 234 pContext->preset = true; 235 // force reloading preset at first call to process() 442 if (pContext->preset && pContext->nextPreset != pContext->curPreset) { 461 if (pContext->preset && pContext->curPreset == REVERB_PRESET_NONE) { 1480 // Load a the next preset 1497 const t_reverb_settings *preset local 1767 uint16_t preset = *(uint16_t *)pValue; local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaPresetReverbTest.java | 51 // Implementor UUID for preset reverb effect defined in 126 //Test case 1.0: test preset 134 short preset = mReverb.getPreset(); 135 assertEquals(msg +": got incorrect preset", 137 preset); 163 if (settings.preset == (short)PresetReverb.PRESET_LARGEROOM) { 168 settings.preset = newPreset; 171 assertEquals(msg +": setProperties failed", newPreset, settings.preset);
|
H A D | MediaEqualizerTest.java | 202 short preset = mEqualizer.getCurrentPreset(); 203 assertEquals(msg + ": usePreset failed", preset, (short)(numPresets - 1)); 204 String name = mEqualizer.getPresetName(preset);
|
/frameworks/wilhelm/src/android/ |
H A D | android_Effect.h | 56 uint16_t preset); 59 uint16_t* preset);
|
H A D | android_Effect.cpp | 295 // initialize preset number and names, store in IEngine 366 // initialize preset 367 uint16_t preset; local 368 if (android::NO_ERROR == android_prev_getPreset(ipr->mPresetReverbEffect, &preset)) { 369 ipr->mPreset = preset; 370 // enable the effect if it has a preset loaded 371 ipr->mPresetReverbEffect->setEnabled(SL_REVERBPRESET_NONE != preset); 376 android::status_t android_prev_setPreset(android::sp<android::AudioEffect> pFx, uint16_t preset) { argument 378 PRESETREVERB_PARAM_SIZE_MAX, &preset, sizeof(uint16_t)); 379 // enable the effect if the preset i 385 android_prev_getPreset(android::sp<android::AudioEffect> pFx, uint16_t* preset) argument [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | CaptioningManager.java | 47 /** Default style preset as an index into {@link CaptionStyle#PRESETS}. */ 116 * @return the raw preset number, or the first preset if not specified 129 final int preset = getRawUserStyle(); 130 if (preset == CaptionStyle.PRESET_CUSTOM) { 134 return CaptionStyle.PRESETS[preset];
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 1405 // Gets the currently set preset ID. 1407 // manually since a preset was set. 1422 // Sets the current preset by ID. 1427 // preset The preset ID. 1430 void EqualizerSetPreset(EffectContext *pContext, int preset){ argument 1432 //ALOGV("\tEqualizerSetPreset(%d)", preset); 1433 pContext->pBundledContext->CurPreset = preset; 1439 EQNB_5BandSoftPresets[i + preset * FIVEBAND_NUMBANDS]; 1456 // Gets a human-readable name for a preset I 1463 EqualizerGetPresetName(int32_t preset) argument 2174 int32_t preset; local [all...] |
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 2195 XAuint32 preset, 2203 XAuint32 preset,
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 1428 SLuint16 preset
|