Lines Matching refs:thiz
30 IVolume *thiz = (IVolume *) self; in IVolume_SetVolumeLevel() local
31 interface_lock_exclusive(thiz); in IVolume_SetVolumeLevel()
32 SLmillibel oldLevel = thiz->mLevel; in IVolume_SetVolumeLevel()
34 thiz->mLevel = level; in IVolume_SetVolumeLevel()
35 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN); in IVolume_SetVolumeLevel()
37 interface_unlock_exclusive(thiz); in IVolume_SetVolumeLevel()
53 IVolume *thiz = (IVolume *) self; in IVolume_GetVolumeLevel() local
54 interface_lock_shared(thiz); in IVolume_GetVolumeLevel()
55 SLmillibel level = thiz->mLevel; in IVolume_GetVolumeLevel()
56 interface_unlock_shared(thiz); in IVolume_GetVolumeLevel()
84 IVolume *thiz = (IVolume *) self; in IVolume_SetMute() local
86 interface_lock_exclusive(thiz); in IVolume_SetMute()
87 SLboolean oldMute = thiz->mMute; in IVolume_SetMute()
89 thiz->mMute = (SLuint8) mute; in IVolume_SetMute()
90 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN); in IVolume_SetMute()
92 interface_unlock_exclusive(thiz); in IVolume_SetMute()
107 IVolume *thiz = (IVolume *) self; in IVolume_GetMute() local
108 interface_lock_shared(thiz); in IVolume_GetMute()
109 SLboolean mute = thiz->mMute; in IVolume_GetMute()
110 interface_unlock_shared(thiz); in IVolume_GetMute()
123 IVolume *thiz = (IVolume *) self; in IVolume_EnableStereoPosition() local
125 interface_lock_exclusive(thiz); in IVolume_EnableStereoPosition()
126 SLboolean oldEnable = thiz->mEnableStereoPosition; in IVolume_EnableStereoPosition()
128 thiz->mEnableStereoPosition = (SLuint8) enable; in IVolume_EnableStereoPosition()
129 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN); in IVolume_EnableStereoPosition()
131 interface_unlock_exclusive(thiz); in IVolume_EnableStereoPosition()
146 IVolume *thiz = (IVolume *) self; in IVolume_IsEnabledStereoPosition() local
147 interface_lock_shared(thiz); in IVolume_IsEnabledStereoPosition()
148 SLboolean enable = thiz->mEnableStereoPosition; in IVolume_IsEnabledStereoPosition()
149 interface_unlock_shared(thiz); in IVolume_IsEnabledStereoPosition()
165 IVolume *thiz = (IVolume *) self; in IVolume_SetStereoPosition() local
166 interface_lock_exclusive(thiz); in IVolume_SetStereoPosition()
167 SLpermille oldStereoPosition = thiz->mStereoPosition; in IVolume_SetStereoPosition()
169 thiz->mStereoPosition = stereoPosition; in IVolume_SetStereoPosition()
170 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN); in IVolume_SetStereoPosition()
172 interface_unlock_exclusive(thiz); in IVolume_SetStereoPosition()
188 IVolume *thiz = (IVolume *) self; in IVolume_GetStereoPosition() local
189 interface_lock_shared(thiz); in IVolume_GetStereoPosition()
190 SLpermille stereoPosition = thiz->mStereoPosition; in IVolume_GetStereoPosition()
191 interface_unlock_shared(thiz); in IVolume_GetStereoPosition()
214 IVolume *thiz = (IVolume *) self; in IVolume_init() local
215 thiz->mItf = &IVolume_Itf; in IVolume_init()
216 thiz->mLevel = 0; in IVolume_init()
217 thiz->mMute = SL_BOOLEAN_FALSE; in IVolume_init()
218 thiz->mEnableStereoPosition = SL_BOOLEAN_FALSE; in IVolume_init()
219 thiz->mStereoPosition = 0; in IVolume_init()