Lines Matching defs:player
65 /* PrefetchStatusItf callback for an audio player */
143 SLObjectItf player;
173 // Create Output Mix object to be used by player
197 /* Create the audio player */
198 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
201 /* Realizing the player in synchronous mode. */
202 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
206 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
209 res = (*player)->GetInterface(player, SL_IID_VOLUME, (void*)&volItf);
212 res = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
223 /* Set up the player callback to get events during the decoding */
234 /* Set the player volume */
239 /* first cause the player to prefetch the data */
240 fprintf(stdout, "Setting the player to PAUSED to cause it to prefetch the data\n");
268 fprintf(stdout, "Setting the player to PLAYING\n");
305 /* Destroy the player */
306 fprintf(stdout, "Destroying the player\n");
307 (*player)->Destroy(player);