Home | History | Annotate | Download | only in mimeUri

Lines Matching defs:player

53     /* Objects this application uses: one player and an ouput mix */
54 SLObjectItf player, outputMix;
61 /* Data sinks for the audio player */
65 /* Play, Volume and AndroidStreamType interfaces for the audio player */
88 /* Create Output Mix object to be used by the player */
103 /* Configuration of the player */
127 /* Create the audio player */
128 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
132 /* Retrieve the configuration interface before the player is realized so its resources
136 result = (*player)->GetInterface(player, SL_IID_ANDROIDCONFIGURATION, (void*)&configItf);
139 /* Set the Android audio stream type on the player */
149 /* Realize the player in synchronous mode. */
150 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result);
153 /* Get the SLPlayItf, SLPrefetchStatusItf and SLAndroidConfigurationItf interfaces for player */
154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
157 result = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
160 fprintf(stdout, "Player configured\n");
165 /* Start the data prefetching by setting the player to the paused state */
212 /* Make sure player is stopped */
227 /* Destroy the player */
228 (*player)->Destroy(player);