Home | History | Annotate | Download | only in examples

Lines Matching defs:player

55     /* Objects this application uses: one player and an ouput mix */
56 SLObjectItf player, outputMix;
63 /* Data sinks for the audio player */
67 /* Play and PrefetchStatus interfaces for the audio player */
87 /* Create Output Mix object to be used by the player */
102 /* Configuration of the player */
129 /* Create the audio player */
130 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1,
134 /* Realize the player in synchronous mode. */
135 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result);
138 /* Get the SLPlayItf, SLPrefetchStatusItf and SLAndroidStreamTypeItf interfaces for the player*/
139 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
142 result = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
145 fprintf(stdout, "Player configured\n");
150 /* Start the data prefetching by setting the player to the paused state */
176 /* Make sure player is stopped */
181 /* Destroy the player */
182 (*player)->Destroy(player);