Home | History | Annotate | Download | only in examples

Lines Matching defs:player

279     /* Objects this application uses: one audio player */
280 SLObjectItf player;
282 /* Interfaces for the audio player */
319 /* Configuration of the player */
358 /* Create the audio player */
359 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &decSource, &decDest,
362 fprintf(stdout, "Player created\n");
364 /* Realize the player in synchronous mode. */
365 result = (*player)->Realize(player, SL_BOOLEAN_FALSE);
367 fprintf(stdout, "Player realized\n");
370 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
373 /* Set up the player callback to get events during the decoding */
387 result = (*player)->GetInterface(player, SL_IID_ANDROIDSIMPLEBUFFERQUEUE,
392 result = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
396 result = (*player)->GetInterface(player, SL_IID_METADATAEXTRACTION, (void*)&mdExtrItf);
430 /* 1/ cause the player to prefetch the data */
526 (*player)->Destroy(player);