• Home
  • Raw
  • Download

Lines Matching refs:thiz

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