Home | History | Annotate | Download | only in examples

Lines Matching defs:player

60     /* Objects this application uses: one player and an ouput mix */
61 SLObjectItf player, outputMix;
72 /* Data sinks for the audio player */
76 /* Play and PrefetchStatus interfaces for the audio player */
97 /* Create Output Mix object to be used by the player */
112 /* Configuration of the player */
149 /* Create the audio player */
150 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2,
154 /* Realize the player in synchronous mode. */
155 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result);
158 /* Get the SLPlayItf, SLPrefetchStatusItf and SLAndroidStreamTypeItf interfaces for the player*/
159 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
162 result = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
165 result = (*player)->GetInterface(player, SL_IID_EQUALIZER, (void*)&eqItf);
168 fprintf(stdout, "Player configured\n");
173 /* Start the data prefetching by setting the player to the paused state */
260 /* Make sure player is stopped */
265 /* Destroy the player */
266 (*player)->Destroy(player);