Lines Matching defs:thiz

50         IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
51 interface_lock_exclusive(thiz);
52 thiz->mProperties.roomLevel = room;
56 if (NO_ENVREVERB(thiz)) {
59 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect,
64 interface_unlock_exclusive(thiz);
78 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
79 interface_lock_shared(thiz);
83 if (NO_ENVREVERB(thiz)) {
86 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect,
87 REVERB_PARAM_ROOM_LEVEL, &thiz->mProperties.roomLevel);
91 *pRoom = thiz->mProperties.roomLevel;
93 interface_unlock_shared(thiz);
111 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
112 interface_lock_exclusive(thiz);
113 thiz->mProperties.roomHFLevel = roomHF;
117 if (NO_ENVREVERB(thiz)) {
120 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect,
125 interface_unlock_exclusive(thiz);
140 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
141 interface_lock_shared(thiz);
145 if (NO_ENVREVERB(thiz)) {
148 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect,
149 REVERB_PARAM_ROOM_HF_LEVEL, &thiz->mProperties.roomHFLevel);
153 *pRoomHF = thiz->mProperties.roomHFLevel;
155 interface_unlock_shared(thiz);
170 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
171 interface_lock_exclusive(thiz);
172 thiz->mProperties.decayTime = decayTime;
176 if (NO_ENVREVERB(thiz)) {
179 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect,
184 interface_unlock_exclusive(thiz);
199 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
200 interface_lock_shared(thiz);
204 if (NO_ENVREVERB(thiz)) {
207 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect,
208 REVERB_PARAM_DECAY_TIME, &thiz->mProperties.decayTime);
212 *pDecayTime = thiz->mProperties.decayTime;
214 interface_unlock_shared(thiz);
229 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
230 interface_lock_exclusive(thiz);
231 thiz->mProperties.decayHFRatio = decayHFRatio;
235 if (NO_ENVREVERB(thiz)) {
238 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect,
243 interface_unlock_exclusive(thiz);
258 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
259 interface_lock_shared(thiz);
263 if (NO_ENVREVERB(thiz)) {
266 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect,
267 REVERB_PARAM_DECAY_HF_RATIO, &thiz->mProperties.decayHFRatio);
271 *pDecayHFRatio = thiz->mProperties.decayHFRatio;
273 interface_unlock_shared(thiz);
290 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
291 interface_lock_exclusive(thiz);
292 thiz->mProperties.reflectionsLevel = reflectionsLevel;
296 if (NO_ENVREVERB(thiz)) {
299 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect,
304 interface_unlock_exclusive(thiz);
319 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
320 interface_lock_shared(thiz);
324 if (NO_ENVREVERB(thiz)) {
327 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect,
328 REVERB_PARAM_REFLECTIONS_LEVEL, &thiz->mProperties.reflectionsLevel);
332 *pReflectionsLevel = thiz->mProperties.reflectionsLevel;
334 interface_unlock_shared(thiz);
349 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
350 interface_lock_exclusive(thiz);
351 thiz->mProperties.reflectionsDelay = reflectionsDelay;
355 if (NO_ENVREVERB(thiz)) {
358 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect,
363 interface_unlock_exclusive(thiz);
378 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
379 interface_lock_shared(thiz);
383 if (NO_ENVREVERB(thiz)) {
386 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect,
387 REVERB_PARAM_REFLECTIONS_DELAY, &thiz->mProperties.reflectionsDelay);
391 *pReflectionsDelay = thiz->mProperties.reflectionsDelay;
393 interface_unlock_shared(thiz);
410 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
411 interface_lock_exclusive(thiz);
412 thiz->mProperties.reverbLevel = reverbLevel;
416 if (NO_ENVREVERB(thiz)) {
419 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect,
424 interface_unlock_exclusive(thiz);
439 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
440 interface_lock_shared(thiz);
444 if (NO_ENVREVERB(thiz)) {
447 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect,
448 REVERB_PARAM_REVERB_LEVEL, &thiz->mProperties.reverbLevel);
452 *pReverbLevel = thiz->mProperties.reverbLevel;
454 interface_unlock_shared(thiz);
469 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
470 interface_lock_exclusive(thiz);
471 thiz->mProperties.reverbDelay = reverbDelay;
475 if (NO_ENVREVERB(thiz)) {
478 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect,
483 interface_unlock_exclusive(thiz);
498 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
499 interface_lock_shared(thiz);
503 if (NO_ENVREVERB(thiz)) {
506 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect,
507 REVERB_PARAM_REVERB_DELAY, &thiz->mProperties.reverbDelay);
511 *pReverbDelay = thiz->mProperties.reverbDelay;
513 interface_unlock_shared(thiz);
528 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
529 interface_lock_exclusive(thiz);
530 thiz->mProperties.diffusion = diffusion;
534 if (NO_ENVREVERB(thiz)) {
537 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect,
542 interface_unlock_exclusive(thiz);
557 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
558 interface_lock_shared(thiz);
562 if (NO_ENVREVERB(thiz)) {
565 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect,
566 REVERB_PARAM_DIFFUSION, &thiz->mProperties.diffusion);
570 *pDiffusion = thiz->mProperties.diffusion;
572 interface_unlock_shared(thiz);
587 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
588 interface_lock_exclusive(thiz);
589 thiz->mProperties.density = density;
593 if (NO_ENVREVERB(thiz)) {
596 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect,
601 interface_unlock_exclusive(thiz);
616 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
617 interface_lock_shared(thiz);
621 if (NO_ENVREVERB(thiz)) {
624 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect,
625 REVERB_PARAM_DENSITY, &thiz->mProperties.density);
629 *pDensity = thiz->mProperties.density;
631 interface_unlock_shared(thiz);
671 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
672 interface_lock_exclusive(thiz);
673 thiz->mProperties = properties;
677 if (NO_ENVREVERB(thiz)) {
680 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect,
685 interface_unlock_exclusive(thiz);
700 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
701 interface_lock_shared(thiz);
705 if (NO_ENVREVERB(thiz)) {
708 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect,
709 REVERB_PARAM_PROPERTIES, &thiz->mProperties);
713 *pProperties = thiz->mProperties;
715 interface_unlock_shared(thiz);
762 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
763 thiz->mItf = &IEnvironmentalReverb_Itf;
764 thiz->mProperties = IEnvironmentalReverb_default;
766 memset(&thiz->mEnvironmentalReverbDescriptor, 0, sizeof(effect_descriptor_t));
768 (void) new (&thiz->mEnvironmentalReverbEffect) android::sp<android::AudioEffect>();
775 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
777 thiz->mEnvironmentalReverbEffect.~sp();
784 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self;
786 &thiz->mEnvironmentalReverbDescriptor)) {