/frameworks/wilhelm/src/objects/ |
D | COutputMix.c | 61 COutputMix *outputMix = (COutputMix *) self; in COutputMix_PreDestroy() local 63 if (0 == outputMix->mObject.mStrongRefCount) { in COutputMix_PreDestroy() 66 IEngine *thisEngine = &outputMix->mObject.mEngine->mEngine; in COutputMix_PreDestroy() 69 if (outputMix == thisEngine->mOutputMix) { in COutputMix_PreDestroy() 75 outputMix->mOutputMixExt.mDestroyRequested = true; in COutputMix_PreDestroy() 76 while (outputMix->mOutputMixExt.mDestroyRequested) { in COutputMix_PreDestroy() 77 object_cond_wait(&outputMix->mObject); in COutputMix_PreDestroy() 88 SL_LOGE("Object::Destroy(%p) for OutputMix ignored; %u players attached", outputMix, in COutputMix_PreDestroy() 89 outputMix->mObject.mStrongRefCount); in COutputMix_PreDestroy()
|
D | CAudioPlayer.c | 108 SLObjectItf outputMix = audioPlayer->mDataSink.mLocator.mOutputMix.outputMix; in CAudioPlayer_GetOutputMix() local 109 assert(NULL != outputMix); in CAudioPlayer_GetOutputMix() 110 return (COutputMix *) outputMix; in CAudioPlayer_GetOutputMix()
|
/frameworks/wilhelm/src/itf/ |
D | IEffectSend.c | 48 COutputMix *outputMix = CAudioPlayer_GetOutputMix(audioPlayer); in getEnableLevel() local 50 if (pAuxEffect == &outputMix->mEnvironmentalReverb.mItf) { in getEnableLevel() 52 } else if (pAuxEffect == &outputMix->mPresetReverb.mItf) { in getEnableLevel() 69 object_lock_shared(&outputMix->mObject); in getEnableLevel() 70 SLuint32 state = outputMix->mObject.mInterfaceStates[index]; in getEnableLevel() 71 mask &= outputMix->mObject.mGottenMask; in getEnableLevel() 72 object_unlock_shared(&outputMix->mObject); in getEnableLevel() 138 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); in IEffectSend_EnableEffectSend() local 141 if (pAuxEffect == &outputMix->mPresetReverb.mItf) { in IEffectSend_EnableEffectSend() 143 outputMix->mPresetReverb.mPresetReverbEffect, in IEffectSend_EnableEffectSend() [all …]
|
D | IAndroidEffectSend.c | 41 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); in IAndroidEffectSend_EnableEffectSend() local 161 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); in IAndroidEffectSend_SetSendLevel() local 162 if (android_genericFx_hasEffect(&outputMix->mAndroidEffect, effectImplementationId)) { in IAndroidEffectSend_SetSendLevel() 200 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); in IAndroidEffectSend_GetSendLevel() local 201 if (android_genericFx_hasEffect(&outputMix->mAndroidEffect, effectImplementationId)) { in IAndroidEffectSend_GetSendLevel()
|
D | IOutputMixExt.c | 86 COutputMix *outputMix = CAudioPlayer_GetOutputMix(audioPlayer); in track_check() local 87 unsigned i = track - outputMix->mOutputMixExt.mTracks; in track_check() 91 assert(outputMix->mOutputMixExt.mActiveMask & mask); in track_check() 92 outputMix->mOutputMixExt.mActiveMask &= ~mask; in track_check() 389 pAudioSnk->pLocator)->outputMix)->mOutputMixExt; in IOutputMixExt_checkAudioPlayerSourceSink()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestPlayFdPath.cpp | 56 SLObjectItf player, outputMix; in TestPlayPathFromFD() local 88 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestPlayPathFromFD() 92 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestPlayPathFromFD() 97 locator_outputmix.outputMix = outputMix; in TestPlayPathFromFD() 185 (*outputMix)->Destroy(outputMix); in TestPlayPathFromFD()
|
D | slesTestEqOutputPath.cpp | 61 SLObjectItf player, outputMix; in TestEQPathFromFD() local 104 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required); in TestEQPathFromFD() 108 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestEQPathFromFD() 112 result = (*outputMix)->GetInterface(outputMix, SL_IID_EQUALIZER, (void*)&eqOutputItf); in TestEQPathFromFD() 116 locator_outputmix.outputMix = outputMix; in TestEQPathFromFD() 273 (*outputMix)->Destroy(outputMix); in TestEQPathFromFD()
|
D | slesTestSendToPresetReverb.cpp | 80 SLObjectItf player, outputMix; in TestSendToPresetReverb() local 124 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required); in TestSendToPresetReverb() 128 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestSendToPresetReverb() 132 result = (*outputMix)->GetInterface(outputMix, SL_IID_PRESETREVERB, (void*)&reverbItf); in TestSendToPresetReverb() 137 locator_outputmix.outputMix = outputMix; in TestSendToPresetReverb() 318 (*outputMix)->Destroy(outputMix); in TestSendToPresetReverb()
|
D | slesTestVirtualizerPath.cpp | 57 SLObjectItf player, outputMix; in TestVirtualizerPathFromFD() local 94 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestVirtualizerPathFromFD() 98 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestVirtualizerPathFromFD() 103 locator_outputmix.outputMix = outputMix; in TestVirtualizerPathFromFD() 242 (*outputMix)->Destroy(outputMix); in TestVirtualizerPathFromFD()
|
D | slesTestBassBoostPath.cpp | 56 SLObjectItf player, outputMix; in TestBassBoostPathFromFD() local 93 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required); in TestBassBoostPathFromFD() 97 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestBassBoostPathFromFD() 102 locator_outputmix.outputMix = outputMix; in TestBassBoostPathFromFD() 240 (*outputMix)->Destroy(outputMix); in TestBassBoostPathFromFD()
|
D | slesTestEqFdPath.cpp | 61 SLObjectItf player, outputMix; in TestEQPathFromFD() local 98 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required); in TestEQPathFromFD() 102 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestEQPathFromFD() 107 locator_outputmix.outputMix = outputMix; in TestEQPathFromFD() 269 (*outputMix)->Destroy(outputMix); in TestEQPathFromFD()
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTest_playStates.cpp | 54 SLObjectItf player, outputMix; in TestPlayUri() local 87 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestPlayUri() 91 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestPlayUri() 96 locator_outputmix.outputMix = outputMix; in TestPlayUri() 200 (*outputMix)->Destroy(outputMix); in TestPlayUri()
|
D | slesTestPlayStreamType.cpp | 54 SLObjectItf player, outputMix; in TestStreamTypeConfiguration() local 89 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestStreamTypeConfiguration() 93 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestStreamTypeConfiguration() 98 locator_outputmix.outputMix = outputMix; in TestStreamTypeConfiguration() 231 (*outputMix)->Destroy(outputMix); in TestStreamTypeConfiguration()
|
D | slesTestPlayUri2.cpp | 69 SLObjectItf player, player2, outputMix; in TestPlayUri() local 108 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestPlayUri() 112 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestPlayUri() 117 locator_outputmix.outputMix = outputMix; in TestPlayUri() 245 (*outputMix)->Destroy(outputMix); in TestPlayUri()
|
D | slesTestManyPlayers.cpp | 34 SLObjectItf outputMix; variable 151 res = (*engineItf)->CreateOutputMix(engineItf, &outputMix, 0, in TestSetup() 154 res = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestSetup() 174 locator_outputmix.outputMix = outputMix; in TestSetup() 196 (*outputMix)->Destroy(outputMix); in TestTeardown()
|
/frameworks/wilhelm/src/desktop/ |
D | SDL.c | 32 COutputMix *outputMix = thisEngine->mOutputMix; in SDL_callback() local 34 if (NULL != outputMix) { in SDL_callback() 35 SLOutputMixExtItf OutputMixExt = &outputMix->mOutputMixExt.mItf; in SDL_callback()
|
/frameworks/wilhelm/tests/listening/ |
D | slesTest_playMuteSolo.cpp | 169 SLObjectItf player, outputMix; in TestPlayUri() local 202 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestPlayUri() 206 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestPlayUri() 211 locator_outputmix.outputMix = outputMix; in TestPlayUri() 371 (*outputMix)->Destroy(outputMix); in TestPlayUri()
|
D | seekTorture.c | 64 locator_outputmix.outputMix = outputmixObject; in main()
|
/frameworks/ex/variablespeed/jni/ |
D | variablespeed.cc | 567 size_t channelCount, SLuint32 slChannels, SLint32 audioStreamType, SLObjectItf &outputMix, in CreateAndRealizeAudioPlayer() argument 577 SLDataLocator_OutputMix loc_outmix = {SL_DATALOCATOR_OUTPUTMIX, outputMix}; in CreateAndRealizeAudioPlayer() 672 SLObjectItf outputMix = NULL; in PlayFromThisSource() local 686 OpenSL(engineInterface, CreateOutputMix, &outputMix, 0, NULL, NULL); in PlayFromThisSource() 687 OpenSL(outputMix, Realize, SL_BOOLEAN_FALSE); in PlayFromThisSource() 689 GetSLChannels(), audioStreamType_, outputMix, audioPlayer, in PlayFromThisSource() 709 VoidOpenSL(outputMix, Destroy); in PlayFromThisSource() 713 outputMix = NULL; in PlayFromThisSource()
|
/frameworks/wilhelm/src/ |
D | data.c | 161 result = AcquireStrongRef((IObject *) pDataLocator->mOutputMix.outputMix, in checkDataLocator() 166 name, pDataLocator->mOutputMix.outputMix); in checkDataLocator() 167 pDataLocator->mOutputMix.outputMix = NULL; in checkDataLocator() 315 if (NULL != pDataLocator->mOutputMix.outputMix) { in freeDataLocator() 316 ReleaseStrongRef((IObject *) pDataLocator->mOutputMix.outputMix); in freeDataLocator() 317 pDataLocator->mOutputMix.outputMix = NULL; in freeDataLocator()
|
/frameworks/wilhelm/tests/sandbox/ |
D | srcsink.c | 57 loc_outmix.outputMix = NULL; in main() 72 loc_outmix.outputMix = engineObject; in main() 84 loc_outmix.outputMix = outputMixObject; in main()
|
D | xa.c | 94 locOM.outputMix = outputMixObject; in main()
|
D | urimime.c | 71 loc_outmix.outputMix = outputMixObject; in main()
|
D | configbq.c | 122 loc_outmix.outputMix = outputMixObject; in main()
|
/frameworks/wilhelm/src/android/ |
D | android_Effect.cpp | 512 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); in android_fxSend_attachToAux() local 513 ssize_t index = outputMix->mAndroidEffect.mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_fxSend_attachToAux() 520 android::AudioEffect* pFx = outputMix->mAndroidEffect.mEffects->valueAt(index); in android_fxSend_attachToAux()
|