Lines Matching refs:track
126 static SLresult IMIDIMuteSolo_SetTrackMute(SLMIDIMuteSoloItf self, SLuint16 track, SLboolean mute) in IMIDIMuteSolo_SetTrackMute() argument
132 if (!(track < thiz->mTrackCount)) { in IMIDIMuteSolo_SetTrackMute()
135 SLuint32 mask = 1 << track; in IMIDIMuteSolo_SetTrackMute()
149 static SLresult IMIDIMuteSolo_GetTrackMute(SLMIDIMuteSoloItf self, SLuint16 track, SLboolean *pMute) in IMIDIMuteSolo_GetTrackMute() argument
155 if (!(track < thiz->mTrackCount) || NULL == pMute) { in IMIDIMuteSolo_GetTrackMute()
161 *pMute = (mask >> track) & 1; in IMIDIMuteSolo_GetTrackMute()
169 static SLresult IMIDIMuteSolo_SetTrackSolo(SLMIDIMuteSoloItf self, SLuint16 track, SLboolean solo) in IMIDIMuteSolo_SetTrackSolo() argument
175 if (!(track < thiz->mTrackCount)) { in IMIDIMuteSolo_SetTrackSolo()
178 SLuint32 mask = 1 << track; interface_lock_exclusive(thiz); in IMIDIMuteSolo_SetTrackSolo()
191 static SLresult IMIDIMuteSolo_GetTrackSolo(SLMIDIMuteSoloItf self, SLuint16 track, SLboolean *pSolo) in IMIDIMuteSolo_GetTrackSolo() argument
197 if (!(track < thiz->mTrackCount) || NULL == pSolo) { in IMIDIMuteSolo_GetTrackSolo()
203 *pSolo = (mask >> track) & 1; in IMIDIMuteSolo_GetTrackSolo()