Lines Matching full:maudioplayer
181 mAudioPlayer(NULL),
459 if (mAudioPlayer == NULL && mAudioSource != NULL) {
469 delete mAudioPlayer;
470 mAudioPlayer = NULL;
561 int64_t audioTimeUs = mAudioPlayer->getMediaTimeUs();
751 if (mAudioPlayer == NULL) {
753 mAudioPlayer = new AudioPlayerBase(mAudioSink, this);
754 mAudioPlayer->setSource(mAudioSource);
756 mTimeSource = mAudioPlayer;
772 delete mAudioPlayer;
773 mAudioPlayer = NULL;
787 if (mTimeSource == NULL && mAudioPlayer == NULL) {
822 if (mAudioSource == NULL || mAudioPlayer == NULL) {
831 status_t err = mAudioPlayer->start(
839 mAudioPlayer->resume();
968 if (mAudioPlayer != NULL && (mFlags & AUDIO_RUNNING)) {
973 mAudioPlayer->pause(true /* playPendingSamples */);
975 mAudioPlayer->pause();
1108 && (mAudioPlayer == NULL || !(mFlags & VIDEO_AT_EOS))) {
1111 } else if (mAudioPlayer != NULL) {
1112 *positionUs = mAudioPlayer->getMediaTimeUs();
1182 if (mSeeking != NO_SEEK && mVideoSource == NULL && mAudioPlayer != NULL) {
1183 mAudioPlayer->seekTo(mSeekTimeUs);
1332 if (mAudioPlayer != NULL) {
1338 mAudioPlayer->seekTo(videoTimeUs < 0 ? mSeekTimeUs : videoTimeUs);
1384 if (mAudioPlayer != NULL && (mFlags & AUDIO_RUNNING)) {
1385 mAudioPlayer->pause();
1431 if (mAudioPlayer != NULL
1474 if (mAudioPlayer != NULL && !(mFlags & (AUDIO_RUNNING | SEEK_PREVIEW))) {
1490 if (!(mFlags & AUDIO_AT_EOS) && mAudioPlayer != NULL
1491 && mAudioPlayer->getMediaTimeMapping(&realTimeUs, &mediaTimeUs)) {
1514 && mAudioPlayer != NULL
1515 && mAudioPlayer->getMediaTimeMapping(
1623 if (mWatchForAudioSeekComplete && !mAudioPlayer->isSeeking()) {
1635 if (mWatchForAudioEOS && mAudioPlayer->reachedEOS(&finalStatus)) {