Home
last modified time | relevance | path

Searched refs:outputMix (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/wilhelm/src/objects/
DCOutputMix.c61 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()
DCAudioPlayer.c108 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/
DIEffectSend.c48 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 …]
DIAndroidEffectSend.c160 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); in IAndroidEffectSend_SetSendLevel() local
161 if (android_genericFx_hasEffect(&outputMix->mAndroidEffect, effectImplementationId)) { in IAndroidEffectSend_SetSendLevel()
199 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); in IAndroidEffectSend_GetSendLevel() local
200 if (android_genericFx_hasEffect(&outputMix->mAndroidEffect, effectImplementationId)) { in IAndroidEffectSend_GetSendLevel()
DIOutputMixExt.c86 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/mimeUri/
DslesTest_playStates.cpp53 SLObjectItf player, outputMix; in TestPlayUri() local
86 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestPlayUri()
90 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestPlayUri()
95 locator_outputmix.outputMix = outputMix; in TestPlayUri()
197 (*outputMix)->Destroy(outputMix); in TestPlayUri()
DslesTestPlayStreamType.cpp54 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()
DslesTestPlayUri2.cpp69 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()
DslesTestManyPlayers.cpp34 SLObjectItf outputMix; variable
149 res = (*engineItf)->CreateOutputMix(engineItf, &outputMix, 0, in TestSetup()
152 res = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestSetup()
172 locator_outputmix.outputMix = outputMix; in TestSetup()
194 (*outputMix)->Destroy(outputMix); in TestTeardown()
/frameworks/wilhelm/tests/examples/
DslesTestEqOutputPath.cpp61 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()
DslesTestPlayFdPath.cpp77 SLObjectItf player, outputMix; in TestPlayPathFromFD() local
109 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestPlayPathFromFD()
113 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestPlayPathFromFD()
118 locator_outputmix.outputMix = outputMix; in TestPlayPathFromFD()
216 (*outputMix)->Destroy(outputMix); in TestPlayPathFromFD()
DslesTestSendToPresetReverb.cpp79 SLObjectItf player, outputMix; in TestSendToPresetReverb() local
123 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required); in TestSendToPresetReverb()
127 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); in TestSendToPresetReverb()
131 result = (*outputMix)->GetInterface(outputMix, SL_IID_PRESETREVERB, (void*)&reverbItf); in TestSendToPresetReverb()
136 locator_outputmix.outputMix = outputMix; in TestSendToPresetReverb()
317 (*outputMix)->Destroy(outputMix); in TestSendToPresetReverb()
DslesTestBassBoostPath.cpp56 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()
DslesTestVirtualizerPath.cpp57 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()
DslesTestEqFdPath.cpp61 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()
DslesTestSawtoothBufferQueue.cpp179 locator_outputmix.outputMix = OutputMix; in TestPlaySawtoothBufferQueue()
/frameworks/wilhelm/src/desktop/
DSDL.c32 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/
DslesTest_playMuteSolo.cpp169 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()
DseekTorture.c64 locator_outputmix.outputMix = outputmixObject; in main()
/frameworks/wilhelm/tests/sandbox/
Dsrcsink.c57 loc_outmix.outputMix = NULL; in main()
72 loc_outmix.outputMix = engineObject; in main()
84 loc_outmix.outputMix = outputMixObject; in main()
Dxa.c95 locOM.outputMix = outputMixObject; in main()
Durimime.c71 loc_outmix.outputMix = outputMixObject; in main()
Dconfigbq.c122 loc_outmix.outputMix = outputMixObject; in main()
/frameworks/wilhelm/src/
Ddata.c166 result = AcquireStrongRef((IObject *) pDataLocator->mOutputMix.outputMix, in checkDataLocator()
171 name, pDataLocator->mOutputMix.outputMix); in checkDataLocator()
172 pDataLocator->mOutputMix.outputMix = NULL; in checkDataLocator()
320 if (NULL != pDataLocator->mOutputMix.outputMix) { in freeDataLocator()
321 ReleaseStrongRef((IObject *) pDataLocator->mOutputMix.outputMix); in freeDataLocator()
322 pDataLocator->mOutputMix.outputMix = NULL; in freeDataLocator()
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp523 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); in android_fxSend_attachToAux() local
524 ssize_t index = outputMix->mAndroidEffect.mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_fxSend_attachToAux()
532 outputMix->mAndroidEffect.mEffects->valueAt(index); in android_fxSend_attachToAux()

12