Home | History | Annotate | Download | only in examples

Lines Matching full:player

55     /* Objects this application uses: one player and an ouput mix */
56 SLObjectItf player, outputMix;
67 /* Data sinks for the audio player */
71 /* Interfaces for the audio player */
92 /* Create Output Mix object to be used by the player */
107 /* Configuration of the player */
144 /* Create the audio player */
145 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2,
149 /* Realize the player in synchronous mode. */
150 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result);
153 /* Get the SLPlayItf, SLPrefetchStatusItf and SLBassBoostItf interfaces for the player */
154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
157 result = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
160 result = (*player)->GetInterface(player, SL_IID_BASSBOOST, (void*)&bbItf);
163 fprintf(stdout, "Player configured\n");
168 /* Start the data prefetching by setting the player to the paused state */
231 /* Make sure player is stopped */
236 /* Destroy the player */
237 (*player)->Destroy(player);