Home | History | Annotate | Download | only in listening

Lines Matching refs:playItf

33     SLPlayItf playItf;
50 /* PlayItf callback for an audio player, will be called for every SL_PLAYEVENT_HEADATNEWPOS event */
54 SLPlayItf playItf = context->playItf;
60 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res);
130 SLPlayItf playItf;
196 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
214 context.playItf = playItf;
219 result = (*playItf)->RegisterCallback(playItf, PlayEventCallback, (void *) &context);
221 result = (*playItf)->SetCallbackEventsMask(playItf, SL_PLAYEVENT_HEADATNEWPOS);
223 result = (*playItf)->SetPositionUpdatePeriod(playItf, 1000);
232 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED );
263 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); ExitOnError(result);
273 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED);