Lines Matching defs:thiz

30         IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self;
31 interface_lock_shared(thiz);
33 *pNumSupportedAudioEffects = thiz->mNumFx;
36 interface_unlock_shared(thiz);
49 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self;
50 if (index > thiz->mNumFx) {
53 interface_lock_shared(thiz);
55 *pEffectType = (SLInterfaceID) &thiz->mFxDescriptors[index].type;
58 *pEffectImplementation = (SLInterfaceID) &thiz->mFxDescriptors[index].uuid;
61 int len = strlen(thiz->mFxDescriptors[index].name);
62 strncpy((char*)pName, thiz->mFxDescriptors[index].name,
66 interface_unlock_shared(thiz);
81 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self;
82 thiz->mItf = &IAndroidEffectCapabilities_Itf;
85 thiz->mNumFx = 0;
86 thiz->mFxDescriptors = NULL;
91 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self;
98 thiz->mNumFx = numEffects;
99 SL_LOGV("Effect Capabilities has %d effects", thiz->mNumFx);
100 if (thiz->mNumFx > 0) {
101 thiz->mFxDescriptors = (effect_descriptor_t*) new effect_descriptor_t[thiz->mNumFx];
102 for (SLuint32 i = 0 ; i < thiz->mNumFx ; i++) {
104 result2 = android_genericFx_queryEffect(i, &thiz->mFxDescriptors[i]);
114 thiz->mFxDescriptors[i].type.timeLow,
115 thiz->mFxDescriptors[i].type.timeMid,
116 thiz->mFxDescriptors[i].type.timeHiAndVersion,
117 thiz->mFxDescriptors[i].type.clockSeq,
118 thiz->mFxDescriptors[i].type.node[0],
119 thiz->mFxDescriptors[i].type.node[1],
120 thiz->mFxDescriptors[i].type.node[2],
121 thiz->mFxDescriptors[i].type.node[3],
122 thiz->mFxDescriptors[i].type.node[4],
123 thiz->mFxDescriptors[i].type.node[5],
124 thiz->mFxDescriptors[i].name);
133 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self;
135 if (NULL != thiz->mFxDescriptors) {
136 delete[] thiz->mFxDescriptors;
137 thiz->mFxDescriptors = NULL;