Lines Matching refs:player
56 /* Objects this application uses: one player and an ouput mix */
57 SLObjectItf player, outputMix;
68 /* Data sinks for the audio player */
72 /* Play and PrefetchStatus interfaces for the audio player */
93 /* Create Output Mix object to be used by the player */
108 /* Configuration of the player */
145 /* Create the audio player */
146 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2,
150 /* Realize the player in synchronous mode. */
151 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result);
154 /* Get the SLPlayItf, SLPrefetchStatusItf and SLAndroidStreamTypeItf interfaces for the player*/
155 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
158 result = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
161 result = (*player)->GetInterface(player, SL_IID_VIRTUALIZER, (void*)&virtItf);
169 /* Start the data prefetching by setting the player to the paused state */
233 /* Make sure player is stopped */
238 /* Destroy the player */
239 (*player)->Destroy(player);