/frameworks/av/media/libstagefright/ |
D | AudioPlayer.cpp | 239 mAudioTrack = new AudioTrack( in start() 244 if ((err = mAudioTrack->initCheck()) != OK) { in start() 245 mAudioTrack.clear(); in start() 259 mLatencyUs = (int64_t)mAudioTrack->latency() * 1000; in start() 260 mFrameSize = mAudioTrack->frameSize(); in start() 262 mAudioTrack->start(); in start() 278 mAudioTrack->stop(); in pause() 287 mAudioTrack->pause(); in pause() 301 err = mAudioTrack->start(); in resume() 334 mAudioTrack->stop(); in reset() [all …]
|
D | MediaSync.cpp | 152 if (mAudioTrack != NULL) { in setAudioTrack() 174 mAudioTrack = audioTrack; in setAudioTrack() 179 mAudioTrack = NULL; in setAudioTrack() 233 if (mAudioTrack != NULL) { in resync_l() 268 if (mAudioTrack != NULL) { in getPlayTimeForPendingAudioFrames() 269 status_t res = mAudioTrack->getPosition(&numFramesPlayed); in getPlayTimeForPendingAudioFrames() 302 if (mAudioTrack == NULL) { in updateQueuedAudioData() 307 int64_t numFrames = sizeInBytes / mAudioTrack->frameSize(); in updateQueuedAudioData() 398 if (mAudioTrack == NULL) { in setSyncSettings() 441 if (mAudioTrack != NULL) { in setPlaybackSettings_l() [all …]
|
/frameworks/av/media/libmedia/ |
D | JetPlayer.cpp | 87 mAudioTrack = new AudioTrack(); in init() 88 status_t status = mAudioTrack->set(AUDIO_STREAM_MUSIC, //TODO parameterize this in init() 96 mAudioTrack.clear(); in init() 142 if (mAudioTrack != 0) { in release() 143 mAudioTrack->stop(); in release() 144 mAudioTrack->flush(); in release() 145 mAudioTrack.clear(); in release() 193 mAudioTrack->pause(); in render() 225 if (mAudioTrack == NULL) { in render() 232 if ((temp = mAudioTrack->write(mAudioBuffer, num_output)) < 0) { in render() [all …]
|
D | AudioTrack.cpp | 266 IInterface::asBinder(mAudioTrack)->unlinkToDeath(mDeathNotifier, this); in ~AudioTrack() 267 mAudioTrack.clear(); in ~AudioTrack() 348 if (mAudioTrack != 0) { in set() 606 status = mAudioTrack->start(); in start() 660 mAudioTrack->stop(); in stop() 716 mAudioTrack->flush(); in flush_l() 730 mAudioTrack->pause(); in pause() 767 mAudioTrack->signal(); in setVolume() 1201 status_t status = mAudioTrack->attachAuxEffect(effectId); in attachAuxEffect() 1424 if (mAudioTrack != 0) { in createTrack_l() [all …]
|
/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 73 private AudioTrack mAudioTrack; field in BlockingAudioTrack 90 mAudioTrack = null; in BlockingAudioTrack() 97 mAudioTrack = track; in init() 109 if (mAudioTrack != null) { in stop() 110 mAudioTrack.stop(); in stop() 119 track = mAudioTrack; in write() 134 track = mAudioTrack; in waitAndRelease() 159 if (DBG) Log.d(TAG, "Waiting for audio track to complete : " + mAudioTrack.hashCode()); in waitAndRelease() 160 blockUntilDone(mAudioTrack); in waitAndRelease() 168 mAudioTrack = null; in waitAndRelease()
|
D | SynthesisPlaybackQueueItem.java | 63 private final BlockingAudioTrack mAudioTrack; field in SynthesisPlaybackQueueItem 77 mAudioTrack = new BlockingAudioTrack(audioParams, sampleRate, audioFormat, channelCount); in SynthesisPlaybackQueueItem() 87 if (!mAudioTrack.init()) { in run() 102 mAudioTrack.write(buffer); in run() 110 mAudioTrack.waitAndRelease(); in run() 150 mAudioTrack.stop(); in stop() 181 while ((unconsumedAudioMs = mAudioTrack.getAudioLengthMs(mUnconsumedBytes)) > in put()
|
/frameworks/base/media/java/android/media/ |
D | MediaSync.java | 200 private AudioTrack mAudioTrack = null; field in MediaSync 335 mAudioTrack = audioTrack; in setAudioTrack() 446 if (mAudioTrack != null) { in flush() 447 mAudioTrack.pause(); in flush() 448 mAudioTrack.flush(); in flush() 451 mAudioTrack.stop(); in flush() 509 if (mAudioTrack == null || mAudioThread == null) { in queueAudio() 539 if (size > 0 && mAudioTrack.getPlayState() != AudioTrack.PLAYSTATE_PLAYING) { in postRenderAudio() 541 mAudioTrack.play(); in postRenderAudio() 546 int sizeWritten = mAudioTrack.write( in postRenderAudio()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 758 if (mAudioTrack != 0 && mPrevSampleID == sample->sampleID()) { in play() 760 if (mAudioTrack->setSampleRate(sampleRate) == NO_ERROR) { in play() 761 newTrack = mAudioTrack; in play() 762 ALOGV("reusing track %p for sample %d", mAudioTrack.get(), sample->sampleID()); in play() 789 oldTrack = mAudioTrack; in play() 798 mAudioTrack = newTrack; in play() 814 mAudioTrack->start(); in play() 821 mAudioTrack.clear(); in play() 944 mAudioTrack->stop(); in doStop_l() 983 mAudioTrack->pause(); in pause() [all …]
|
D | SoundPool.h | 147 sp<AudioTrack> mAudioTrack; variable
|
/frameworks/wilhelm/src/android/ |
D | AudioPlayer_to_android.cpp | 245 } else if (ap->mAudioTrack != 0) { in android_audioPlayer_volumeUpdate() 246 ap->mAudioTrack->setVolume(leftVol, rightVol); in android_audioPlayer_volumeUpdate() 586 if ((ap->mAudioTrack != 0) && (ap->mAuxEffect != 0)) { in audioPlayer_auxEffectUpdate() 840 if ((ap->mAudioTrack != 0) && (!ap->mSeek.mLoopEnabled)) { in sfplayer_handlePrefetchEvent() 841 ap->mAudioTrack->stop(); in sfplayer_handlePrefetchEvent() 1281 ap->mAudioTrack->stop(); in audioTrack_callBack_pullFromBuffQueue() 1551 audio_output_flags_t flags = pAudioPlayer->mAudioTrack->getFlags(); in checkAndSetPerformanceModePost() 1644 pAudioPlayer->mAudioTrack = new android::AudioTrack( in android_audioPlayer_realize() 1655 android::status_t status = pAudioPlayer->mAudioTrack->initCheck(); in android_audioPlayer_realize() 1660 pAudioPlayer->mAudioTrack.clear(); in android_audioPlayer_realize() [all …]
|
D | android_Effect.cpp | 511 assert(ap->mAudioTrack == 0); in android_fxSend_attach() 521 if (ap->mAudioTrack == 0) { in android_fxSend_attach() 535 android::status_t status = ap->mAudioTrack->attachAuxEffect(pFx->id()); in android_fxSend_attach() 539 ap->mAudioTrack->setAuxEffectSendLevel( sles_to_android_amplification(sendLevel) ); in android_fxSend_attach() 543 return ap->mAudioTrack->attachAuxEffect(0); in android_fxSend_attach() 592 assert(ap->mAudioTrack == 0); in android_fxSend_setSendLevel() 597 if (ap->mAudioTrack == 0) { in android_fxSend_setSendLevel() 601 return ap->mAudioTrack->setAuxEffectSendLevel( sles_to_android_amplification(sendLevel) ); in android_fxSend_setSendLevel()
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 532 if (state->mAudioTrack != NULL) { in onDoMoreStuff() 586 state->mAudioTrack = new AudioTrack( in onOutputFormatChanged() 601 CHECK(state->mAudioTrack != NULL); in renderAudio() 603 if (state->mAudioTrack->stopped()) { in renderAudio() 604 state->mAudioTrack->start(); in renderAudio() 608 CHECK_EQ(state->mAudioTrack->getPosition(&numFramesPlayed), (status_t)OK); in renderAudio() 611 state->mAudioTrack->frameCount() in renderAudio() 615 numFramesAvailableToWrite * state->mAudioTrack->frameSize(); in renderAudio() 628 ssize_t nbytes = state->mAudioTrack->write( in renderAudio() 635 uint32_t numFramesWritten = nbytes / state->mAudioTrack->frameSize(); in renderAudio()
|
D | SimplePlayer.h | 81 sp<AudioTrack> mAudioTrack; member
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | RTSPSource.cpp | 161 if ((mAudioTrack != NULL && mAudioTrack->isFinished(mediaDurationUs)) in haveSufficientDataOnAllTracks() 168 if (mAudioTrack != NULL in haveSufficientDataOnAllTracks() 169 && (durationUs = mAudioTrack->getBufferedDurationUs(&err)) in haveSufficientDataOnAllTracks() 249 return audio ? mAudioTrack : mVideoTrack; in getSource() 264 if (mAudioTrack != NULL in getDuration() 265 && mAudioTrack->getFormat()->findInt64( in getDuration() 694 CHECK(mAudioTrack == NULL); in onConnected() 722 if ((isAudio && mAudioTrack == NULL) in onConnected() 727 mAudioTrack = source; in onConnected()
|
D | GenericSource.cpp | 237 if (mAudioTrack.mSource == NULL) { in initFromDataSource() 238 mAudioTrack.mIndex = i; in initFromDataSource() 239 mAudioTrack.mSource = track; in initFromDataSource() 240 mAudioTrack.mPackets = in initFromDataSource() 241 new AnotherPacketSource(mAudioTrack.mSource->getFormat()); in initFromDataSource() 299 if (mAudioTrack.mSource != NULL && mAudioTrack.mSource->start() != OK) { in startSources() 325 if (mAudioTrack.mSource != NULL) { in getLastReadPosition() 521 if (mAudioTrack.mSource != NULL) { in start() 643 track = &mAudioTrack; in onMessageReceived() 868 sp<IMediaSource> source = audio ? mAudioTrack.mSource : mVideoTrack.mSource; in doGetFormatMeta() [all …]
|
D | RTSPSource.h | 117 sp<AnotherPacketSource> mAudioTrack; member
|
D | GenericSource.h | 194 Track mAudioTrack; member
|
/frameworks/av/include/media/ |
D | AudioTrack.h | 932 sp<IAudioTrack> mAudioTrack; variable 1095 DeathNotifier(AudioTrack* audioTrack) : mAudioTrack(audioTrack) { } in DeathNotifier() 1099 const wp<AudioTrack> mAudioTrack;
|
D | JetPlayer.h | 92 sp<AudioTrack> mAudioTrack; // and we play it in this audio track variable
|
/frameworks/av/include/media/stagefright/ |
D | AudioPlayer.h | 70 sp<AudioTrack> mAudioTrack; variable
|
D | MediaSync.h | 202 sp<AudioTrack> mAudioTrack; variable
|
/frameworks/wilhelm/src/itf/ |
D | IAndroidEffect.cpp | 31 if (ap->mAudioTrack != 0) { in IAndroidEffect_CreateEffect()
|
D | IAndroidConfiguration.c | 148 android::AudioTrack* pAudioTrack = ((CAudioPlayer*)configObj)->mAudioTrack.get(); in AllocPlayerRoutingProxy()
|
/frameworks/wilhelm/src/ |
D | classes.h | 102 android::sp<android::AudioTrack> mAudioTrack; member
|
D | locks.c | 230 audioTrack = ap->mAudioTrack; in object_unlock_exclusive_attributes_()
|