Lines Matching refs:thiz
30 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_SetChannelMute() local
32 interface_lock_exclusive(thiz); in IMIDIMuteSolo_SetChannelMute()
34 thiz->mChannelMuteMask |= mask; in IMIDIMuteSolo_SetChannelMute()
36 thiz->mChannelMuteMask &= ~mask; in IMIDIMuteSolo_SetChannelMute()
37 interface_unlock_exclusive(thiz); in IMIDIMuteSolo_SetChannelMute()
53 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_GetChannelMute() local
54 interface_lock_peek(thiz); in IMIDIMuteSolo_GetChannelMute()
55 SLuint16 mask = thiz->mChannelMuteMask; in IMIDIMuteSolo_GetChannelMute()
56 interface_unlock_peek(thiz); in IMIDIMuteSolo_GetChannelMute()
73 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_SetChannelSolo() local
75 interface_lock_exclusive(thiz); in IMIDIMuteSolo_SetChannelSolo()
77 thiz->mChannelSoloMask |= mask; in IMIDIMuteSolo_SetChannelSolo()
79 thiz->mChannelSoloMask &= ~mask; in IMIDIMuteSolo_SetChannelSolo()
80 interface_unlock_exclusive(thiz); in IMIDIMuteSolo_SetChannelSolo()
96 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_GetChannelSolo() local
97 interface_lock_peek(thiz); in IMIDIMuteSolo_GetChannelSolo()
98 SLuint16 mask = thiz->mChannelSoloMask; in IMIDIMuteSolo_GetChannelSolo()
99 interface_unlock_peek(thiz); in IMIDIMuteSolo_GetChannelSolo()
115 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_GetTrackCount() local
117 SLuint16 trackCount = thiz->mTrackCount; in IMIDIMuteSolo_GetTrackCount()
130 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_SetTrackMute() local
132 if (!(track < thiz->mTrackCount)) { in IMIDIMuteSolo_SetTrackMute()
136 interface_lock_exclusive(thiz); in IMIDIMuteSolo_SetTrackMute()
138 thiz->mTrackMuteMask |= mask; in IMIDIMuteSolo_SetTrackMute()
140 thiz->mTrackMuteMask &= ~mask; in IMIDIMuteSolo_SetTrackMute()
141 interface_unlock_exclusive(thiz); in IMIDIMuteSolo_SetTrackMute()
153 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_GetTrackMute() local
155 if (!(track < thiz->mTrackCount) || NULL == pMute) { in IMIDIMuteSolo_GetTrackMute()
158 interface_lock_peek(thiz); in IMIDIMuteSolo_GetTrackMute()
159 SLuint32 mask = thiz->mTrackMuteMask; in IMIDIMuteSolo_GetTrackMute()
160 interface_unlock_peek(thiz); in IMIDIMuteSolo_GetTrackMute()
173 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_SetTrackSolo() local
175 if (!(track < thiz->mTrackCount)) { in IMIDIMuteSolo_SetTrackSolo()
178 SLuint32 mask = 1 << track; interface_lock_exclusive(thiz); in IMIDIMuteSolo_SetTrackSolo()
180 thiz->mTrackSoloMask |= mask; in IMIDIMuteSolo_SetTrackSolo()
182 thiz->mTrackSoloMask &= ~mask; in IMIDIMuteSolo_SetTrackSolo()
183 interface_unlock_exclusive(thiz); in IMIDIMuteSolo_SetTrackSolo()
195 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_GetTrackSolo() local
197 if (!(track < thiz->mTrackCount) || NULL == pSolo) { in IMIDIMuteSolo_GetTrackSolo()
200 interface_lock_peek(thiz); in IMIDIMuteSolo_GetTrackSolo()
201 SLuint32 mask = thiz->mTrackSoloMask; in IMIDIMuteSolo_GetTrackSolo()
202 interface_unlock_peek(thiz); in IMIDIMuteSolo_GetTrackSolo()
225 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_init() local
226 thiz->mItf = &IMIDIMuteSolo_Itf; in IMIDIMuteSolo_init()
227 thiz->mChannelMuteMask = 0; in IMIDIMuteSolo_init()
228 thiz->mChannelSoloMask = 0; in IMIDIMuteSolo_init()
229 thiz->mTrackMuteMask = 0; in IMIDIMuteSolo_init()
230 thiz->mTrackSoloMask = 0; in IMIDIMuteSolo_init()
232 thiz->mTrackCount = 32; // wrong in IMIDIMuteSolo_init()