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