Home | History | Annotate | Download | only in mimeUri

Lines Matching refs:player

38 /* PlayItf callback for an audio player */
69 SLObjectItf player, player2, outputMix;
107 /* Create Output Mix object to be used each player */
136 /* Create the first audio player */
137 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2,
141 /* Create the second audio player with a different path for its data source */
149 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result);
150 result = (*player)->Realize(player2, SL_BOOLEAN_FALSE); ExitOnError(result);
153 /* Get the SLPlayItf, SLVolumeItf and SLPrefetchStatusItf interfaces for each player */
154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
156 result = (*player)->GetInterface(player2, SL_IID_PLAY, (void*)&playItf2);
159 result = (*player)->GetInterface(player, SL_IID_VOLUME, (void*)&volItf);
164 result = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
177 /* Set the player volume */
180 /* Pan the first player to the left */
183 /* Pan the second player to the right */
211 /* Wait 2s before starting the second player */
233 /* Make sure player is stopped */
241 (*player)->Destroy(player);