• Home
  • Raw
  • Download

Lines Matching refs:thiz

29         IVolume *thiz = (IVolume *) self;  in IVolume_SetVolumeLevel()  local
30 interface_lock_exclusive(thiz); in IVolume_SetVolumeLevel()
31 SLmillibel oldLevel = thiz->mLevel; in IVolume_SetVolumeLevel()
33 thiz->mLevel = level; in IVolume_SetVolumeLevel()
34 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN); in IVolume_SetVolumeLevel()
36 interface_unlock_exclusive(thiz); in IVolume_SetVolumeLevel()
52 IVolume *thiz = (IVolume *) self; in IVolume_GetVolumeLevel() local
53 interface_lock_shared(thiz); in IVolume_GetVolumeLevel()
54 SLmillibel level = thiz->mLevel; in IVolume_GetVolumeLevel()
55 interface_unlock_shared(thiz); in IVolume_GetVolumeLevel()
83 IVolume *thiz = (IVolume *) self; in IVolume_SetMute() local
85 interface_lock_exclusive(thiz); in IVolume_SetMute()
86 SLboolean oldMute = thiz->mMute; in IVolume_SetMute()
88 thiz->mMute = (SLuint8) mute; in IVolume_SetMute()
89 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN); in IVolume_SetMute()
91 interface_unlock_exclusive(thiz); in IVolume_SetMute()
106 IVolume *thiz = (IVolume *) self; in IVolume_GetMute() local
107 interface_lock_shared(thiz); in IVolume_GetMute()
108 SLboolean mute = thiz->mMute; in IVolume_GetMute()
109 interface_unlock_shared(thiz); in IVolume_GetMute()
122 IVolume *thiz = (IVolume *) self; in IVolume_EnableStereoPosition() local
124 interface_lock_exclusive(thiz); in IVolume_EnableStereoPosition()
125 SLboolean oldEnable = thiz->mEnableStereoPosition; in IVolume_EnableStereoPosition()
127 thiz->mEnableStereoPosition = (SLuint8) enable; in IVolume_EnableStereoPosition()
128 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN); in IVolume_EnableStereoPosition()
130 interface_unlock_exclusive(thiz); in IVolume_EnableStereoPosition()
145 IVolume *thiz = (IVolume *) self; in IVolume_IsEnabledStereoPosition() local
146 interface_lock_shared(thiz); in IVolume_IsEnabledStereoPosition()
147 SLboolean enable = thiz->mEnableStereoPosition; in IVolume_IsEnabledStereoPosition()
148 interface_unlock_shared(thiz); in IVolume_IsEnabledStereoPosition()
164 IVolume *thiz = (IVolume *) self; in IVolume_SetStereoPosition() local
165 interface_lock_exclusive(thiz); in IVolume_SetStereoPosition()
166 SLpermille oldStereoPosition = thiz->mStereoPosition; in IVolume_SetStereoPosition()
168 thiz->mStereoPosition = stereoPosition; in IVolume_SetStereoPosition()
169 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN); in IVolume_SetStereoPosition()
171 interface_unlock_exclusive(thiz); in IVolume_SetStereoPosition()
187 IVolume *thiz = (IVolume *) self; in IVolume_GetStereoPosition() local
188 interface_lock_shared(thiz); in IVolume_GetStereoPosition()
189 SLpermille stereoPosition = thiz->mStereoPosition; in IVolume_GetStereoPosition()
190 interface_unlock_shared(thiz); in IVolume_GetStereoPosition()
213 IVolume *thiz = (IVolume *) self; in IVolume_init() local
214 thiz->mItf = &IVolume_Itf; in IVolume_init()
215 thiz->mLevel = 0; in IVolume_init()
216 thiz->mMute = SL_BOOLEAN_FALSE; in IVolume_init()
217 thiz->mEnableStereoPosition = SL_BOOLEAN_FALSE; in IVolume_init()
218 thiz->mStereoPosition = 0; in IVolume_init()