/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 701 // - SL_PREFETCHEVENT_STATUSCHANGE with a status of SL_PREFETCHSTATUS_UNDERFLOW 1205 // signal underflow to prefetch status itf 1515 android::status_t status = pAudioPlayer->mAudioTrack->initCheck(); local 1516 if (status != android::NO_ERROR) { 1517 SL_LOGE("AudioTrack::initCheck status %u", status); 1518 // FIXME should return a more specific result depending on status 2244 // when the queue became empty, an underflow on the prefetch status itf was sent. Now the queue
|
H A D | AudioRecorder_to_android.cpp | 477 android::status_t status = ar->mAudioRecord->initCheck(); local 478 if (android::NO_ERROR != status) { 479 SL_LOGE("android_audioRecorder_realize(%p) error creating AudioRecord object; status %d", 480 ar, status); 481 // FIXME should return a more specific result depending on status
|
H A D | android_AudioSfDecoder.cpp | 166 // All error returns from this method are via notifyPrepared(status) followed by "return". 418 CacheStatus_t status = getCacheRemaining(&eos); local 420 if (eos || status == kStatusHigh 421 || ((mStateFlags & kFlagPreparing) && (status >= kStatusEnough))) { 595 // Prepared state, prefetch status notifications 600 // to replace by a new signalPrepareCompletion(status) if we re-visit this later. 606 // status code but we can provide a more specific one. 711 // cache status is evaluated against duration thresholds 728 // cache status is evaluated against cache amount thresholds
|
H A D | android_Effect.cpp | 202 android::status_t status; local 212 status = pFx->getParameter(p); 213 if (android::NO_ERROR == status) { 214 status = p->status; 215 if (android::NO_ERROR == status) { 220 return status; 228 android::status_t status; local 239 status = pFx->setParameter(p); 240 if (android::NO_ERROR == status) { 388 android::status_t status = android_fx_setParam(pFx, REVERB_PARAM_PRESET, local 503 android::status_t status = ap->mAudioTrack->attachAuxEffect(pFx->id()); local 577 android::status_t status; local 597 android::status_t status; local 617 android_fx_statusToResult(android::status_t status) argument 639 android::status_t status = effect->initCheck(); local 697 android::status_t status = local 730 android::status_t status = local 783 android::status_t status = pFx->initCheck(); local 819 android::status_t status = pFx->setEnabled(SL_BOOLEAN_TRUE == enabled); local 851 android::status_t status = pFx->command( local [all...] |
H A D | android_Effect.h | 130 extern SLresult android_fx_statusToResult(android::status_t status);
|
H A D | android_GenericMediaPlayer.cpp | 463 status_t status; local 464 status = mPlayer->attachAuxEffect(effectId); 465 // attachAuxEffect returns a status but we have no way to report it back to app 466 (void) status; 477 status_t status; local 478 status = mPlayer->setAuxEffectSendLevel(level); 479 // setAuxEffectSendLevel returns a status but we have no way to report it back to app 480 (void) status; 497 // handle prefetch status update 504 // evaluate prefetch status base 551 status_t status = mPlayer->getParameter(KEY_PARAMETER_AUDIO_CHANNEL_COUNT, reply); local [all...] |
H A D | android_LocAVPlayer.cpp | 66 status_t status = mPlayer->setDataSource( local 68 if (status != NO_ERROR) {
|
/frameworks/wilhelm/src/itf/ |
H A D | IAcousticEchoCancellation.c | 43 android::status_t status = thiz->mAECEffect->setEnabled((bool) thiz->mEnabled); local 44 result = android_fx_statusToResult(status);
|
H A D | IAutomaticGainControl.c | 42 android::status_t status = thiz->mAGCEffect->setEnabled((bool) thiz->mEnabled); local 43 result = android_fx_statusToResult(status);
|
H A D | IBassBoost.c | 51 android::status_t status = thiz->mBassBoostEffect->setEnabled((bool) thiz->mEnabled); local 52 result = android_fx_statusToResult(status); 105 android::status_t status = local 107 result = android_fx_statusToResult(status); 133 android::status_t status = local 135 result = android_fx_statusToResult(status); 163 android::status_t status = 166 result = android_fx_statusToResult(status);
|
H A D | IEffectSend.c | 93 /** \brief This is a private function that translates an Android effect framework status code 97 static SLresult translateEnableFxSendError(android::status_t status) { argument 98 switch (status) { 104 SL_LOGE("EffectSend status %u", status);
|
H A D | IEnvironmentalReverb.c | 59 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local 61 result = android_fx_statusToResult(status); 86 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local 88 result = android_fx_statusToResult(status); 120 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local 122 result = android_fx_statusToResult(status); 148 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local 150 result = android_fx_statusToResult(status); 179 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local 181 result = android_fx_statusToResult(status); 207 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local 238 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local 266 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local 299 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local 327 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local 358 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local 386 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local 419 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local 447 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local 478 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local 506 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local 537 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local 565 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local 596 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local 624 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local 680 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local 708 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local [all...] |
H A D | IEqualizer.c | 68 android::status_t status = local 70 result = android_fx_statusToResult(status); 163 android::status_t status = local 165 result = android_fx_statusToResult(status); 196 android::status_t status = local 198 result = android_fx_statusToResult(status); 231 android::status_t status = 233 result = android_fx_statusToResult(status); 270 android::status_t status = 272 result = android_fx_statusToResult(status); 326 android::status_t status = local 358 android::status_t status = local 394 android::status_t status = local [all...] |
H A D | INoiseSuppression.c | 40 android::status_t status = thiz->mNSEffect->setEnabled((bool) thiz->mEnabled); local 41 result = android_fx_statusToResult(status);
|
H A D | IPrefetchStatus.c | 31 SLuint32 status = thiz->mStatus; local 33 *pStatus = status;
|
H A D | IPresetReverb.c | 51 android::status_t status = android_prev_setPreset(thiz->mPresetReverbEffect, preset); local 52 result = android_fx_statusToResult(status); 83 android::status_t status = android_prev_getPreset(thiz->mPresetReverbEffect, &preset); local 84 result = android_fx_statusToResult(status);
|
H A D | IVirtualizer.c | 51 android::status_t status = local 53 result = android_fx_statusToResult(status); 107 android::status_t status = android_virt_setParam(thiz->mVirtualizerEffect, local 109 result = android_fx_statusToResult(status); 135 android::status_t status = android_virt_getParam(thiz->mVirtualizerEffect, local 137 result = android_fx_statusToResult(status); 165 android::status_t status = 168 result = android_fx_statusToResult(status);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 165 SLuint32 status; local 166 result = (*caller)->GetPrefetchStatus(caller, &status); 168 printf("prefetch level=%d status=0x%x event=%d\n", level, status, event); 171 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) { 175 new_prefetch_status = status; 473 /* for prefetch status */ 596 /* Get the prefetch status interface which was explicitly requested */ 756 // wait for prefetch status callback to indicate either sufficient data or error
|
H A D | slesTestDecodeToBuffQueue.cpp | 133 SLuint32 status; local 135 result = (*caller)->GetPrefetchStatus(caller, &status); 138 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) { 391 /* Get the prefetch status interface which was explicitly requested */
|
H A D | slesTestPlayFdPath.cpp | 58 SLuint32 status; local 59 result = (*caller)->GetPrefetchStatus(caller, &status); 62 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
|
H A D | slesTestSendToPresetReverb.cpp | 47 // Prefetch status callback 60 SLuint32 status; local 61 result = (*caller)->GetPrefetchStatus(caller, &status); 64 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
|
/frameworks/wilhelm/tests/listening/ |
H A D | slesTest_playMuteSolo.cpp | 68 // Prefetch status callback 77 SLuint32 status; local 78 result = (*caller)->GetPrefetchStatus(caller, &status); 82 && level == 0 && status == SL_PREFETCHSTATUS_UNDERFLOW) { 85 status == SL_PREFETCHSTATUS_SUFFICIENTDATA) { 86 new_prefetch_status = status; 250 // get the prefetch status interface 254 // enable prefetch status callbacks 312 // wait for prefetch status callback to indicate either sufficient data or error
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestGetPositionUri.cpp | 70 SLuint32 status; local 72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res); 74 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) { 83 fprintf(stdout, "PrefetchEventCallback: Prefetch Status is = %u\n", status);
|
H A D | slesTestLoopUri.cpp | 71 SLuint32 status; local 72 result = (*caller)->GetPrefetchStatus(caller, &status); 78 fprintf(stdout, "\t\tPrefetchEventCallback: Prefetch Status is = %u\n", status); 82 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) { 86 status == SL_PREFETCHSTATUS_SUFFICIENTDATA) { 87 new_prefetch_status = status; 237 // wait for prefetch status callback to indicate either sufficient data or error
|
H A D | slesTestManyPlayers.cpp | 80 SLuint32 status; local 82 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErrPlyr(res, *pPlayerId); 84 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) { 95 status, *pPlayerId);
|