Lines Matching refs:callback

164     slPlayCallback callback = NULL;
168 callback = ap->mPlay.mCallback;
172 if (NULL != callback) {
174 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATMARKER);
181 slPlayCallback callback = NULL;
185 callback = ap->mPlay.mCallback;
189 if (NULL != callback) {
191 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATNEWPOS);
198 slPlayCallback callback = NULL;
202 callback = ap->mPlay.mCallback;
207 if ((NULL != callback) && headStalled) {
208 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADSTALLED);
233 // SLPlayItf callback or no callback?
247 // callback with no lock held
260 * - the prefetch status callback, if any, has been notified if a change occurred
274 // callback or no callback?
284 // callback with no lock held
425 slPrefetchCallback callback = NULL;
433 callback = ap->mPrefetchStatus.mCallback;
438 // callback with no lock held
439 if (NULL != callback) {
440 (*callback)(&ap->mPrefetchStatus.mItf, callbackPContext,
497 slPrefetchCallback callback = NULL;
500 // SLPrefetchStatusItf callback or no callback?
503 callback = ap->mPrefetchStatus.mCallback;
509 // callback with no lock held
510 if (NULL != callback) {
511 (*callback)(&ap->mPrefetchStatus.mItf, callbackPContext,
520 slPrefetchCallback callback = NULL;
523 // SLPrefetchStatusItf callback or no callback?
526 callback = ap->mPrefetchStatus.mCallback;
541 // callback with no lock held
542 if (NULL != callback) {
543 (*callback)(&ap->mPrefetchStatus.mItf, callbackPContext, SL_PREFETCHEVENT_STATUSCHANGE);
741 // set size to 0 to signal we're not using the callback to write more data
776 slBufferQueueCallback callback = NULL;
819 callback = ap->mBufferQueue.mCallback;
820 // save callback data
841 if (NULL != callback) {
842 (*callback)(&ap->mBufferQueue.mItf, callbackPContext);
1033 audioTrack_callBack_pullFromBuffQueue, // callback
1366 // nothing to do for SL_PLAYEVENT_HEADATEND, callback event will be checked against mask
1375 // nothing to do for SL_PLAYEVENT_HEADSTALLED, callback event will be checked against mask