Lines Matching refs:player
73 /* PrefetchStatusItf callback for an audio player */
115 SLObjectItf player;
140 // Create Output Mix object to be used by player
164 /* Create the audio player */
165 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player,
168 /* Realizing the player in synchronous mode. */
169 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
172 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
175 res = (*player)->GetInterface(player, SL_IID_VOLUME, (void*)&volItf);
178 res = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
190 /* Set the player volume */
195 /* first cause the player to prefetch the data */
250 /* Make sure player is stopped */
256 /* Destroy the player */
257 (*player)->Destroy(player);