Home | History | Annotate | Download | only in listening

Lines Matching defs:player

101 /* PlayItf callback for an audio player, will be called for every SL_PLAYEVENT_HEADATNEWPOS event */
168 /* Objects this application uses: one player and an output mix */
169 SLObjectItf player, outputMix;
176 /* Data sinks for the audio player */
180 /* Play, Volume and PrefetchStatus interfaces for the audio player */
201 /* Create Output Mix object to be used by the player */
216 /* Configuration of the player */
237 /* Create the audio player */
238 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2,
242 /* Realize the player in synchronous mode. */
243 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result);
246 /* Get the SLPlayItf, SLPrefetchStatusItf and SLMuteSoloItf interfaces for the player */
247 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
251 result = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
262 result = (*player)->GetInterface(player, SL_IID_MUTESOLO, (void*)&muteSoloItf);
300 fprintf(stdout, "Player configured\n");
305 /* Start the data prefetching by setting the player to the paused state */
357 /* Make sure player is stopped */
365 (*player)->Destroy(player);