Lines Matching defs:player
27 // default delay in Us used when reposting an event when the player is not ready to accept
106 // only send video size updates if the player was flagged as having video, to avoid
195 sp<IMediaPlayer> player;
196 getPreparedPlayer(player);
197 if (player != NULL) {
198 player->stop();
201 //player->setDataSource(NULL);
202 player->setVideoSurfaceTexture(NULL);
203 player->disconnect();
225 sp<IMediaPlayer> player;
226 getPreparedPlayer(player);
228 if (player == 0 || player->getCurrentPosition(msec) != NO_ERROR) {
459 // Mark this player as prepared successfully, so safe to directly call getCurrentPosition
501 SL_LOGD("media player prepared on local source");
510 SL_LOGD("media player prepared on non-local source");
516 // If player is prepared successfully, set output parameter to that reference, otherwise NULL