/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 698 // - SL_PREFETCHEVENT_STATUSCHANGE with a status of SL_PREFETCHSTATUS_UNDERFLOW 1195 // signal underflow to prefetch status itf 1485 android::status_t status = pAudioPlayer->mAudioTrack->initCheck(); local 1486 if (status != android::NO_ERROR) { 1487 SL_LOGE("AudioTrack::initCheck status %u", status); 1488 // FIXME should return a more specific result depending on status 2196 // when the queue became empty, an underflow on the prefetch status itf was sent. Now the queue
|
H A D | AudioRecorder_to_android.cpp | 453 android::status_t status = ar->mAudioRecord->initCheck(); local 454 if (android::NO_ERROR != status) { 455 SL_LOGE("android_audioRecorder_realize(%p) error creating AudioRecord object; status %d", 456 ar, status); 457 // FIXME should return a more specific result depending on status
|
H A D | android_AudioSfDecoder.cpp | 164 // All error returns from this method are via notifyPrepared(status) followed by "return". 422 CacheStatus_t status = getCacheRemaining(&eos); local 424 if (eos || status == kStatusHigh 425 || ((mStateFlags & kFlagPreparing) && (status >= kStatusEnough))) { 599 // Prepared state, prefetch status notifications 604 // to replace by a new signalPrepareCompletion(status) if we re-visit this later. 610 // status code but we can provide a more specific one. 715 // cache status is evaluated against duration thresholds 732 // 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 781 android::status_t status = pFx->initCheck(); local 817 android::status_t status = pFx->setEnabled(SL_BOOLEAN_TRUE == enabled); local 849 android::status_t status = pFx->command( local [all...] |
H A D | android_GenericMediaPlayer.cpp | 460 status_t status; local 461 status = mPlayer->attachAuxEffect(effectId); 462 // attachAuxEffect returns a status but we have no way to report it back to app 463 (void) status; 474 status_t status; local 475 status = mPlayer->setAuxEffectSendLevel(level); 476 // setAuxEffectSendLevel returns a status but we have no way to report it back to app 477 (void) status; 494 // handle prefetch status update 501 // evaluate prefetch status base 548 status_t status = mPlayer->getParameter(KEY_PARAMETER_AUDIO_CHANNEL_COUNT, reply); local [all...] |
/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 | 167 SLuint32 status; local 168 result = (*caller)->GetPrefetchStatus(caller, &status); 170 printf("prefetch level=%d status=0x%x event=%d\n", level, status, event); 173 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) { 177 new_prefetch_status = status; 475 /* for prefetch status */ 598 /* Get the prefetch status interface which was explicitly requested */ 758 // 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 | 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; 240 // 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);
|
H A D | slesTestPlayUri.cpp | 78 SLuint32 status; local 80 result = (*caller)->GetPrefetchStatus(caller, &status); 83 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) { 91 fprintf(stdout, "PrefetchEventCallback: Prefetch Status is = %u\n", status);
|
H A D | slesTestSlowDownUri.cpp | 116 SLuint32 status; local 117 result = (*caller)->GetPrefetchStatus(caller, &status); 123 fprintf(stdout, "\t\tPrefetchEventCallback: Prefetch Status is = %u\n", status); 127 && level == 0 && status == SL_PREFETCHSTATUS_UNDERFLOW) { 131 status == SL_PREFETCHSTATUS_SUFFICIENTDATA) { 132 new_prefetch_status = status; 342 // wait for prefetch status callback to indicate either sufficient data or error
|
/frameworks/wilhelm/tests/ |
H A D | mimeUri_test.cpp | 78 SLuint32 status; local 80 (*caller)->GetPrefetchStatus(caller, &status); 82 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) { 90 fprintf(stdout, "\t\tPrefetchEventCallback: Prefetch Status is = %u\n", status);
|